- java.lang.Object
-
- org.jooq.lambda.SeqBuffer<T>
-
final class SeqBuffer<T> extends java.lang.Object
Lazily consumes givenSpliterator
throughSeq
s provided by methodseq()
. This method may be called multiple times, and the returnedSeq
s may be consumed interchangeably. Instances of this class ARE thread-safe.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
SeqBuffer.BufferSpliterator
SpecialSpliterator
whosetryAdvance
method can buffer (i.e.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static <T> SeqBuffer<T>
of(java.util.Spliterator<T> spliterator)
(package private) static <T> SeqBuffer<T>
of(java.util.stream.Stream<? extends T> stream)
(package private) Seq<T>
seq()
Returns aSeq
over givensource
.
-