Class LazyCollection.SelectIterator

All Implemented Interfaces:
Iterator<E>
Enclosing class:
LazyCollection<E>

public class LazyCollection.SelectIterator extends LazyCollection<E>.FilterIterator
LazyCollection<E>.FilterIterator that selects elements from the underlying collection by evaluation a condition function on them.
  • Constructor Details

  • Method Details

    • include

      protected final boolean include(E element)
      Checks whether to include
      element
      .
      Specified by:
      include in class LazyCollection<E>.FilterIterator
      Parameters:
      element - the element to filter
      Returns:
      true iff element should be included in this collection