Home
last modified time | relevance | path

Searched refs:sliceOrigin (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DStreamSpliterators.java612 final long sliceOrigin; field in StreamSpliterators.AbstractWrappingSpliterator.SliceSpliterator
623 SliceSpliterator(T_SPLITR s, long sliceOrigin, long sliceFence, long origin, long fence) { in SliceSpliterator() argument
626 this.sliceOrigin = sliceOrigin; in SliceSpliterator()
632 …protected abstract T_SPLITR makeSpliterator(T_SPLITR s, long sliceOrigin, long sliceFence, long or… in makeSpliterator() argument
635 if (sliceOrigin >= fence) in trySplit()
654 if (sliceOrigin >= leftSplitFence) { in trySplit()
667 else if (index >= sliceOrigin && leftSplitFenceUnbounded <= sliceFence) { in trySplit()
675 … return makeSpliterator(leftSplit, sliceOrigin, sliceFence, index, index = leftSplitFence); in trySplit()
681 return (sliceOrigin < fence) in estimateSize()
682 ? fence - Math.max(sliceOrigin, index) : 0; in estimateSize()
[all …]