Class EmptyMapIterator<K,​V>

    • Field Detail

      • INSTANCE

        public static final MapIterator INSTANCE
        Singleton instance of the iterator.
        Since:
        3.1
    • Constructor Detail

      • EmptyMapIterator

        protected EmptyMapIterator()
        Constructor.
    • Method Detail

      • emptyMapIterator

        public static <K,​V> MapIterator<K,​V> emptyMapIterator()
        Get a typed instance of the iterator.
        Type Parameters:
        K - the key type
        V - the value type
        Returns:
        MapIterator<K, V>
      • 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()