
T - the contents of the streamS - the type of stream implementing this interfacepublic interface BaseStream<T,S extends BaseStream<T,S>> extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this resource.
|
boolean |
isParallel() |
Iterator<T> |
iterator() |
S |
onClose(Runnable closeHandler) |
S |
parallel() |
S |
sequential() |
Spliterator<T> |
spliterator() |
S |
unordered() |
Spliterator<T> spliterator()
boolean isParallel()
S sequential()
S parallel()
S unordered()
void close()
AutoCloseableclose in interface AutoCloseableCopyright © 2018. All rights reserved.