/libcore/ojluni/src/main/java/java/util/ |
D | PrimitiveIterator.java | 68 public interface PrimitiveIterator<T, T_CONS> extends Iterator<T> { interface 86 public static interface OfInt extends PrimitiveIterator<Integer, IntConsumer> { 160 public static interface OfLong extends PrimitiveIterator<Long, LongConsumer> { 233 public static interface OfDouble extends PrimitiveIterator<Double, DoubleConsumer> {
|
D | Spliterators.java | 505 public static Spliterator.OfInt spliterator(PrimitiveIterator.OfInt iterator, in spliterator() 533 public static Spliterator.OfInt spliteratorUnknownSize(PrimitiveIterator.OfInt iterator, in spliteratorUnknownSize() 562 public static Spliterator.OfLong spliterator(PrimitiveIterator.OfLong iterator, in spliterator() 590 public static Spliterator.OfLong spliteratorUnknownSize(PrimitiveIterator.OfLong iterator, in spliteratorUnknownSize() 619 public static Spliterator.OfDouble spliterator(PrimitiveIterator.OfDouble iterator, in spliterator() 647 public static Spliterator.OfDouble spliteratorUnknownSize(PrimitiveIterator.OfDouble iterator, in spliteratorUnknownSize() 711 public static PrimitiveIterator.OfInt iterator(Spliterator.OfInt spliterator) { in iterator() 713 class Adapter implements PrimitiveIterator.OfInt, IntConsumer { in iterator() 756 public static PrimitiveIterator.OfLong iterator(Spliterator.OfLong spliterator) { in iterator() 758 class Adapter implements PrimitiveIterator.OfLong, LongConsumer { in iterator() [all …]
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | MatchOpTest.java | 38 import java.util.PrimitiveIterator; 219 class CycleIterator implements PrimitiveIterator.OfInt { in testIntInfinite() 220 final Supplier<PrimitiveIterator.OfInt> source; in testIntInfinite() 221 PrimitiveIterator.OfInt i = null; in testIntInfinite() 223 CycleIterator(Supplier<PrimitiveIterator.OfInt> source) { in testIntInfinite() 244 … Supplier<PrimitiveIterator.OfInt> source = () -> Arrays.stream(new int[]{1, 2, 3, 4}).iterator(); in testIntInfinite() 304 class CycleIterator implements PrimitiveIterator.OfLong { in testLongInfinite() 305 final Supplier<PrimitiveIterator.OfLong> source; in testLongInfinite() 306 PrimitiveIterator.OfLong i = null; in testLongInfinite() 308 CycleIterator(Supplier<PrimitiveIterator.OfLong> source) { in testLongInfinite() [all …]
|
D | FindFirstOpTest.java | 90 PrimitiveIterator.OfInt i = fs.apply(data.stream()).iterator(); in exerciseIntStream() 110 PrimitiveIterator.OfLong i = fs.apply(data.stream()).iterator(); in exerciseLongStream() 130 PrimitiveIterator.OfDouble i = fs.apply(data.stream()).iterator(); in exerciseDoubleStream()
|
D | FindAnyOpTest.java | 102 PrimitiveIterator.OfInt it = fs.apply(data.stream()).iterator(); in exerciseIntStream() 126 PrimitiveIterator.OfLong it = fs.apply(data.stream()).iterator(); in exerciseLongStream() 150 PrimitiveIterator.OfDouble it = fs.apply(data.stream()).iterator(); in exerciseDoubleStream()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | CharSequence.java | 29 import java.util.PrimitiveIterator; 131 class CharIterator implements PrimitiveIterator.OfInt { in chars() 178 class CodePointIterator implements PrimitiveIterator.OfInt { in codePoints()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DoubleStream.java | 35 import java.util.PrimitiveIterator; 713 PrimitiveIterator.OfDouble iterator(); in iterator() 777 final PrimitiveIterator.OfDouble iterator = new PrimitiveIterator.OfDouble() { in iterate()
|
D | IntStream.java | 32 import java.util.PrimitiveIterator; 680 PrimitiveIterator.OfInt iterator(); in iterator() 743 final PrimitiveIterator.OfInt iterator = new PrimitiveIterator.OfInt() { in iterate()
|
D | LongStream.java | 36 import java.util.PrimitiveIterator; 673 PrimitiveIterator.OfLong iterator(); in iterator() 736 final PrimitiveIterator.OfLong iterator = new PrimitiveIterator.OfLong() { in iterate()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | PrimitiveIteratorTest.java | 24 import java.util.PrimitiveIterator; 31 public static class CannedIntIterator implements PrimitiveIterator.OfInt { 51 public static class CannedLongIterator implements PrimitiveIterator.OfLong { 71 public static class CannedDoubleIterator implements PrimitiveIterator.OfDouble {
|
D | SpliteratorsTest.java | 26 import java.util.PrimitiveIterator; 519 private static class CannedIntPrimitiveIterator implements PrimitiveIterator.OfInt { 539 private static class CannedLongPrimitiveIterator implements PrimitiveIterator.OfLong { 559 private static class CannedDoublePrimitiveIterator implements PrimitiveIterator.OfDouble { 583 PrimitiveIterator.OfInt elements = new CannedIntPrimitiveIterator(data); in test_spliterator_intPrimitiveIterator() 620 PrimitiveIterator.OfInt elements = new CannedIntPrimitiveIterator(data); in test_spliterator_intPrimitiveIterator_unsized() 654 PrimitiveIterator.OfLong elements = new CannedLongPrimitiveIterator(data); in test_spliterator_longPrimitiveIterator() 691 PrimitiveIterator.OfLong elements = new CannedLongPrimitiveIterator(data); in test_spliterator_longPrimitiveIterator_unsized() 725 PrimitiveIterator.OfDouble elements = new CannedDoublePrimitiveIterator(data); in test_spliterator_doublePrimitiveIterator() 762 PrimitiveIterator.OfDouble elements = new CannedDoublePrimitiveIterator(data); in test_spliterator_doublePrimitiveIterator_unsized() [all …]
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LambdaTestHelpers.java | 229 if (i instanceof PrimitiveIterator.OfInt in assertSorted() 230 || i instanceof PrimitiveIterator.OfDouble in assertSorted() 231 || i instanceof PrimitiveIterator.OfLong) { in assertSorted() 263 if (iter instanceof PrimitiveIterator.OfInt in assertUnique() 264 || iter instanceof PrimitiveIterator.OfDouble in assertUnique() 265 || iter instanceof PrimitiveIterator.OfLong) { in assertUnique()
|
D | TestData.java | 28 import java.util.PrimitiveIterator; 294 public PrimitiveIterator.OfInt iterator() { in iterator() 319 public PrimitiveIterator.OfLong iterator() { in iterator() 344 public PrimitiveIterator.OfDouble iterator() { in iterator()
|
D | IntStreamTestScenario.java | 27 import java.util.PrimitiveIterator; 70 … for (PrimitiveIterator.OfInt seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
|
D | DoubleStreamTestScenario.java | 27 import java.util.PrimitiveIterator; 70 … for (PrimitiveIterator.OfDouble seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
|
D | LongStreamTestScenario.java | 27 import java.util.PrimitiveIterator; 70 … for (PrimitiveIterator.OfLong seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LambdaTestHelpers.java | 230 if (i instanceof PrimitiveIterator.OfInt in assertSorted() 231 || i instanceof PrimitiveIterator.OfDouble in assertSorted() 232 || i instanceof PrimitiveIterator.OfLong) { in assertSorted() 264 if (iter instanceof PrimitiveIterator.OfInt in assertUnique() 265 || iter instanceof PrimitiveIterator.OfDouble in assertUnique() 266 || iter instanceof PrimitiveIterator.OfLong) { in assertUnique()
|
D | TestData.java | 28 import java.util.PrimitiveIterator; 295 public PrimitiveIterator.OfInt iterator() { in iterator() 320 public PrimitiveIterator.OfLong iterator() { in iterator() 345 public PrimitiveIterator.OfDouble iterator() { in iterator()
|
D | IntStreamTestScenario.java | 27 import java.util.PrimitiveIterator; 73 … for (PrimitiveIterator.OfInt seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
|
D | DoubleStreamTestScenario.java | 27 import java.util.PrimitiveIterator; 74 … for (PrimitiveIterator.OfDouble seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
|
D | LongStreamTestScenario.java | 27 import java.util.PrimitiveIterator; 73 … for (PrimitiveIterator.OfLong seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); ) in STREAM_ITERATOR()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | DoubleNodeTest.java | 28 import java.util.PrimitiveIterator; 98 private Node.OfDouble degenerateTree(PrimitiveIterator.OfDouble it) { in degenerateTree()
|
D | LongNodeTest.java | 28 import java.util.PrimitiveIterator; 98 private Node.OfLong degenerateTree(PrimitiveIterator.OfLong it) { in degenerateTree()
|
D | IntNodeTest.java | 28 import java.util.PrimitiveIterator; 98 private Node.OfInt degenerateTree(PrimitiveIterator.OfInt it) { in degenerateTree()
|
D | SpinedBufferTest.java | 201 PrimitiveIterator.OfInt it = sb.iterator(); in testIntSpinedBuffer() 276 PrimitiveIterator.OfLong it = sb.iterator(); in testLongSpinedBuffer() 352 PrimitiveIterator.OfDouble it = sb.iterator(); in testDoubleSpinedBuffer()
|