Class TakeWhileSpliterator<T>

java.lang.Object
org.tquadrat.foundation.stream.internal.TakeWhileSpliterator<T>
Type Parameters:
T - The type of the stream elements.
All Implemented Interfaces:
Spliterator<T>

@ClassVersion(sourceVersion="$Id: TakeWhileSpliterator.java 1119 2024-03-16 09:03:57Z tquadrat $") @API(status=INTERNAL, since="0.0.7") public final class TakeWhileSpliterator<T> extends Object implements Spliterator<T>
An implementation of Spliterator that takes elements from a stream while the given Predicate returns true.
Author:
Dominic Fox
Modified by:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: TakeWhileSpliterator.java 1119 2024-03-16 09:03:57Z tquadrat $
Since:
0.0.7
UML Diagram
UML Diagram for "org.tquadrat.foundation.stream.internal.TakeWhileSpliterator"

UML Diagram for "org.tquadrat.foundation.stream.internal.TakeWhileSpliterator"

UML Diagram for "org.tquadrat.foundation.stream.internal.TakeWhileSpliterator"