✗
public abstract interface BaseStream<T, S>
extends java.lang.AutoCloseable
Methods
- ✓public abstract void close()
- ✓public abstract boolean isParallel()
- ✗public abstract java.util.Iterator<T> iterator()Comparing jdk-20-ga and jdk-21+35
iterator
Returns an iterator for the elements of this stream.This is a terminal operation.
- API Note:
- This operation is provided as an "escape hatch" to enable arbitrary client-controlled pipeline traversals in the event that the existing operations are not sufficient to the task.
- Returns:
- the element iterator for this stream
- ✓public abstract S onClose(java.lang.Runnable arg0)
- ✓public abstract S parallel()
- ✓public abstract S sequential()
- ✗public abstract java.util.Spliterator<T> spliterator()Comparing jdk-20-ga and jdk-21+35
spliterator
Spliterator<T> spliterator()Returns a spliterator for the elements of this stream.This is a terminal operation.
- API Note:
- This operation is provided as an "escape hatch" to enable arbitrary client-controlled pipeline traversals in the event that the existing operations are not sufficient to the task.
Moved out of a division with class block.Moved to a definition list with class notes.Moved to a definition. Moved out of a division with class block.Moved to a definition list with class notes.Moved to a definition.The returned spliterator should report the set of characteristics derived from the stream pipeline (namely the characteristics derived from the stream source spliterator and the intermediate operations). Implementations may report a sub-set of those characteristics. For example, it may be too expensive to compute the entire set for some or all possible stream pipelines.
Moved out of a division with class block.Moved to a definition list with class notes.Moved to a definition. - Returns:
- the element spliterator for this stream
- ✓public abstract S unordered()
Summary
| Elements | Comments | Descriptions | Total | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed | ||
| iterator() | 1 | 1 | ||||||||
| spliterator() | 1 | 1 | ||||||||
| Total | 2 | 2 | ||||||||