Class LazyIterator<T>

java.lang.Object
net.thevpc.common.iterators.LazyIterator<T>
All Implemented Interfaces:
Iterator<T>

public class LazyIterator<T> extends Object implements Iterator<T>
Author:
thevpc
  • Constructor Details

    • LazyIterator

      public LazyIterator()
    • LazyIterator

      public LazyIterator(Iterable<T> iterable)
  • Method Details

    • hasNext

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

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

      protected Iterator<T> iterator()
    • remove

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