Class AbstractEmptyMapIterator<K,​V>

  • Type Parameters:
    K - the type of keys
    V - the type of mapped values
    Direct Known Subclasses:
    EmptyMapIterator, EmptyOrderedMapIterator

    public abstract class AbstractEmptyMapIterator<K,​V>
    extends java.lang.Object
    Provides an implementation of an empty map iterator.
    • Constructor Detail

      • AbstractEmptyMapIterator

        public AbstractEmptyMapIterator()
        Create a new AbstractEmptyMapIterator.
    • Method Detail

      • getKey

        public K getKey()
      • getValue

        public V getValue()
      • setValue

        public V setValue​(V value)
      • hasNext

        public boolean hasNext()
      • next

        public E next()
      • hasPrevious

        public boolean hasPrevious()
      • previous

        public E previous()
      • nextIndex

        public int nextIndex()
      • previousIndex

        public int previousIndex()
      • add

        public void add​(E obj)
      • set

        public void set​(E obj)
      • remove

        public void remove()
      • reset

        public void reset()