Class UnsortedTableMap.EntryIterator

  • All Implemented Interfaces:
    java.util.Iterator<Entry<K,V>>
    Enclosing class:
    UnsortedTableMap<K,V>


    private class UnsortedTableMap.EntryIterator
    extends java.lang.Object
    implements java.util.Iterator<Entry<K,V>>
    Iterator class for entries. Implements java.util.Iterator. %%Uncomment for team work.%%
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      private int j 
    • Constructor Summary

      Constructors 
      Modifier Constructor and Description
      private EntryIterator() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean hasNext() 
      Entry<K,V> next() 
      void remove() 
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • j

        private int j
    • Constructor Detail

      • EntryIterator

        private EntryIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<Entry<K,V>>
      • next

        public Entry<K,V> next()
        Specified by:
        next in interface java.util.Iterator<Entry<K,V>>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<Entry<K,V>>