Class Linqy.FilteringIterator<T>

java.lang.Object
org.xmlunit.util.Linqy.FilteringIterator<T>
All Implemented Interfaces:
Iterator<T>
Enclosing class:
Linqy

private static class Linqy.FilteringIterator<T> extends Object implements Iterator<T>
  • Field Details

    • i

      private final Iterator<T> i
    • filter

      private final Predicate<? super T> filter
    • lookAhead

      private T lookAhead
  • Constructor Details

  • Method Details

    • remove

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

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

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