Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/stream/
DNodes.java174 static <T> Node.Builder<T> builder(long exactSizeIfKnown, IntFunction<T[]> generator) { in builder() argument
175 return (exactSizeIfKnown >= 0 && exactSizeIfKnown < MAX_ARRAY_SIZE) in builder()
176 ? new FixedNodeBuilder<>(exactSizeIfKnown, generator) in builder()
212 static Node.Builder.OfInt intBuilder(long exactSizeIfKnown) { in intBuilder() argument
213 return (exactSizeIfKnown >= 0 && exactSizeIfKnown < MAX_ARRAY_SIZE) in intBuilder()
214 ? new IntFixedNodeBuilder(exactSizeIfKnown) in intBuilder()
249 static Node.Builder.OfLong longBuilder(long exactSizeIfKnown) { in longBuilder() argument
250 return (exactSizeIfKnown >= 0 && exactSizeIfKnown < MAX_ARRAY_SIZE) in longBuilder()
251 ? new LongFixedNodeBuilder(exactSizeIfKnown) in longBuilder()
286 static Node.Builder.OfDouble doubleBuilder(long exactSizeIfKnown) { in doubleBuilder() argument
[all …]
DPipelineHelper.java181 abstract Node.Builder<P_OUT> makeNodeBuilder(long exactSizeIfKnown, in makeNodeBuilder() argument
DIntPipeline.java176 public final Node.Builder<Integer> makeNodeBuilder(long exactSizeIfKnown, in makeNodeBuilder() argument
178 return Nodes.intBuilder(exactSizeIfKnown); in makeNodeBuilder()
DLongPipeline.java174 …public final Node.Builder<Long> makeNodeBuilder(long exactSizeIfKnown, IntFunction<Long[]> generat… in makeNodeBuilder() argument
175 return Nodes.longBuilder(exactSizeIfKnown); in makeNodeBuilder()
DDoublePipeline.java173 …public final Node.Builder<Double> makeNodeBuilder(long exactSizeIfKnown, IntFunction<Double[]> gen… in makeNodeBuilder() argument
174 return Nodes.doubleBuilder(exactSizeIfKnown); in makeNodeBuilder()
DReferencePipeline.java144 …public final Node.Builder<P_OUT> makeNodeBuilder(long exactSizeIfKnown, IntFunction<P_OUT[]> gener… in makeNodeBuilder() argument
145 return Nodes.builder(exactSizeIfKnown, generator); in makeNodeBuilder()
DStreamSpliterators.java220 long exactSizeIfKnown = getExactSizeIfKnown();
224 return exactSizeIfKnown == -1 ? spliterator.estimateSize() : exactSizeIfKnown;
DAbstractPipeline.java667 public abstract Node.Builder<E_OUT> makeNodeBuilder(long exactSizeIfKnown, in makeNodeBuilder() argument