Loading... (original) (raw)
Support Spliterator.NONNULL characteristic in BaseStream.spliterator()
- Type:
Enhancement
- Resolution: Unresolved
- Priority:
P5
- Fix Version/s: tbd
- Affects Version/s: None
The stream pipeline currently ignores the Spliterator.NONNULL characteristic. Any stream source that declares NONNULL will be ignored and will not be present in the escape-hatch BaseStream.spliterator(), assuming that preceding intermediate operations don't clear it (e.g. a map/flatMap operation).