Class While<T>

All Implemented Interfaces:
Iterable<T>

public final class While<T> extends DelegatingIterable<T>
An Iterable that iterates the elements of the delegate while they match the given Predicate and stops when this is no longer the case. Note, this will not necessarily iterate all elements of the delegate.
  • Constructor Details