Interface BaseStream<T, S extends BaseStream<T,S> >
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
DoubleStream, IntStream, LongStream, Stream<T>
What the object stream and the three primitive ones have in common.
Streams here are sequential. parallel() exists because code calls it,
and answers the stream it was called on.
-
Method Summary
-
Method Details
-
iterator
-
isParallel
boolean isParallel() -
sequential
S sequential() -
parallel
S parallel() -
unordered
S unordered() -
onClose
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-