Class SeqBuffer<T>
java.lang.Object
org.jooq.lambda.SeqBuffer<T>
Lazily consumes given
Spliterator through Seqs provided by method seq().
This method may be called multiple times, and the returned Seqs may be consumed interchangeably.
Instances of this class ARE thread-safe.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classSpecialSpliteratorwhosetryAdvancemethod can buffer (i.e. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
source
-
buffer
-
buffering
private volatile boolean bufferingTruewhilesourcehasn't reported that it's exhausted. This volatile field acts as a memory barrier for the contents ofsourceandbuffer:
-
-
Constructor Details
-
SeqBuffer
-
-
Method Details
-
of
-
of
-
seq
-