@ Override public final LongStream asLongStream ( ) { return new LongPipeline . StatelessOp < Integer > ( this , StreamShape . INT_VALUE , StreamOpFlag . NOT_SORTED | StreamOpFlag . NOT_DISTINCT ) { @ Override public Sink < Integer > opWrapSink ( int flags , Sink < Long > sink ) { return new Sink . ChainedInt < Long > ( sink ) { @ Override public void accept ( int t ) { downstream . accept ( ( long ) t ) ; } } ; } } ; }
Stateless intermediate ops from IntStream