Class BaseIterator<V,​E>

  • Type Parameters:
    E - entry type
    V - value type
    All Implemented Interfaces:
    <V>
    Direct Known Subclasses:
    RedissonBaseIterator, RedissonBaseMapIterator

    public abstract class BaseIterator<V,​E>
    extends 
    implements <V>
    Author:
    Nikita Koksharov
    • Field Detail

      • nextIterPos

        protected long nextIterPos
      • value

        protected E value
    • Constructor Detail

      • BaseIterator

        public BaseIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
         in interface <V>
      • tryAgain

        protected boolean tryAgain()
      • next

        public V next()
        Specified by:
         in interface <V>
      • getValue

        protected abstract V getValue​(E entry)
      • remove

        public void remove()
        Specified by:
         in interface <V>
      • remove

        protected abstract void remove​(E value)