Class MultiIterator<T>

  • All Implemented Interfaces:
    Iterable<T>, Iterator<T>

    public class MultiIterator<T>
    extends Object
    implements Iterator<T>, Iterable<T>
    Iterator that allow to iterate against multiple collection of elements.
    • Constructor Detail

      • MultiIterator

        public MultiIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<T>
      • next

        public T next()
        Specified by:
        next in interface Iterator<T>
      • reset

        public void reset()
      • countEntries

        public int countEntries()
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<T>
      • getLimit

        public long getLimit()
      • setLimit

        public void setLimit​(long limit)
      • setTimeout

        public void setTimeout​(long readTimeout)
      • getSkip

        public long getSkip()
      • setSkip

        public void setSkip​(long skip)
      • contains

        public boolean contains​(Object value)
      • getNextPartial

        protected boolean getNextPartial()
      • isEmbedded

        public boolean isEmbedded()
      • setEmbedded

        public MultiIterator<T> setEmbedded​(boolean embedded)