Class FilteringListIterator<T,I extends ListIterator<T>>

java.lang.Object
org.aksw.commons.collections.FilteringListIterator<T,I>
All Implemented Interfaces:
Iterator<T>, ListIterator<T>

public class FilteringListIterator<T,I extends ListIterator<T>> extends Object implements ListIterator<T>
  • Field Details

    • core

      protected I extends ListIterator<T> core
    • predicate

      protected Predicate<? super T> predicate
    • currentIndex

      protected int currentIndex
    • wasPreviousOrNextCalled

      protected boolean wasPreviousOrNextCalled
  • Constructor Details

    • FilteringListIterator

      public FilteringListIterator(I core, Predicate<? super T> predicate, int currentIndex)
  • Method Details