Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DNodeTest.java102 assertEquals(n.asArray(LambdaTestHelpers.integerArrayGenerator), array); in testAsArray()
108 .asArray(LambdaTestHelpers.integerArrayGenerator), array); in testFlattenAsArray()
149 Integer[] asArray = slice.asArray(Integer[]::new); in testTruncate() local
151 assertEquals(array[k], asArray[k - start]); in testTruncate()
DLongNodeTest.java173 long[] asArray = slice.asPrimitiveArray(); in testTruncate() local
175 assertEquals(array[k], asArray[k - start]); in testTruncate()
DIntNodeTest.java172 int[] asArray = slice.asPrimitiveArray(); in testTruncate() local
174 assertEquals(array[k], asArray[k - start]); in testTruncate()
DDoubleNodeTest.java174 double[] asArray = slice.asPrimitiveArray(); in testTruncate() local
176 assertEquals(array[k], asArray[k - start]); in testTruncate()
DSpinedBufferTest.java138 Integer[] array = sb.asArray(LambdaTestHelpers.integerArrayGenerator); in testSpinedBuffer()
/libcore/ojluni/src/main/java/java/util/stream/
DNode.java149 T[] asArray(IntFunction<T[]> generator); in asArray() method
265 default T[] asArray(IntFunction<T[]> generator) { in asArray() method
DNodes.java561 public T[] asArray(IntFunction<T[]> generator) { in asArray() method in Nodes.EmptyNode
668 public T[] asArray(IntFunction<T[]> generator) { in asArray() method in Nodes.ArrayNode
720 public T[] asArray(IntFunction<T[]> generator) { in asArray() method in Nodes.CollectionNode
801 public T[] asArray(IntFunction<T[]> generator) { in asArray() method in Nodes.ConcNode
1294 public T[] asArray(IntFunction<T[]> arrayFactory) {
1296 return super.asArray(arrayFactory);
DSortedOps.java157 … T[] flattenedData = helper.evaluate(spliterator, true, generator).asArray(generator); in opEvaluateParallel()
DReferencePipeline.java457 .asArray(rawGenerator);
DSpinedBuffer.java214 public E[] asArray(IntFunction<E[]> arrayFactory) { in asArray() method in SpinedBuffer