Class CollectionsPlume.FilteredIterator<T>

java.lang.Object
org.plumelib.util.CollectionsPlume.FilteredIterator<T>
Type Parameters:
T - the type of elements of the iterator
All Implemented Interfaces:
Iterator<T>
Enclosing class:
CollectionsPlume

@Deprecated public static final class CollectionsPlume.FilteredIterator<T> extends Object implements Iterator<T>
An iterator that only returns elements that match the given predicate.
  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext(@GuardSatisfied CollectionsPlume.FilteredIterator<T> this)
      Deprecated.
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next(@GuardSatisfied CollectionsPlume.FilteredIterator<T> this)
      Deprecated.
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove(@GuardSatisfied CollectionsPlume.FilteredIterator<T> this)
      Deprecated.
      Specified by:
      remove in interface Iterator<T>