Searched refs:ordered (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/main/java/java/util/stream/ |
D | ForEachOps.java | 71 boolean ordered) { in makeRef() argument 73 return new ForEachOp.OfRef<>(action, ordered); in makeRef() 86 boolean ordered) { in makeInt() argument 88 return new ForEachOp.OfInt(action, ordered); in makeInt() 101 boolean ordered) { in makeLong() argument 103 return new ForEachOp.OfLong(action, ordered); in makeLong() 116 boolean ordered) { in makeDouble() argument 118 return new ForEachOp.OfDouble(action, ordered); in makeDouble() 135 private final boolean ordered; field in ForEachOps.ForEachOp 137 protected ForEachOp(boolean ordered) { in ForEachOp() argument [all …]
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | ConcatTest.java | 125 …private <T> void assertConcatContent(Spliterator<T> sp, boolean ordered, Spliterator<T> expected) { in assertConcatContent() argument 131 assertEquals(sp.hasCharacteristics(Spliterator.ORDERED), ordered, scenario); in assertConcatContent() local 134 if (ordered) { in assertConcatContent() 145 …e void assertRefConcat(Stream<Integer> s1, Stream<Integer> s2, boolean parallel, boolean ordered) { in assertRefConcat() argument 148 assertConcatContent(result.spliterator(), ordered, expected.spliterator()); in assertRefConcat() local 151 …e void assertIntConcat(Stream<Integer> s1, Stream<Integer> s2, boolean parallel, boolean ordered) { in assertIntConcat() argument 155 assertConcatContent(result.spliterator(), ordered, in assertIntConcat() local 159 … void assertLongConcat(Stream<Integer> s1, Stream<Integer> s2, boolean parallel, boolean ordered) { in assertLongConcat() argument 163 assertConcatContent(result.spliterator(), ordered, in assertLongConcat() local 167 …oid assertDoubleConcat(Stream<Integer> s1, Stream<Integer> s2, boolean parallel, boolean ordered) { in assertDoubleConcat() argument [all …]
|
D | TabulatorsTest.java | 78 boolean ordered) throws ReflectiveOperationException; in assertValue() argument 97 boolean ordered) throws ReflectiveOperationException { in assertValue() argument 105 ordered); in assertValue() 127 …void assertValue(M map, Supplier<Stream<T>> source, boolean ordered) throws ReflectiveOperationExc… in assertValue() argument 155 boolean ordered) throws ReflectiveOperationException { in assertValue() argument 159 downstream.assertValue(map.get(true), () -> source.get().filter(predicate), ordered); in assertValue() local 160 … downstream.assertValue(map.get(false), () -> source.get().filter(predicate.negate()), ordered); in assertValue() local 167 void assertValue(List<T> value, Supplier<Stream<T>> source, boolean ordered) in assertValue() argument 175 if (StreamOpFlagTestHelper.isStreamOrdered(stream) && ordered) in assertValue() 193 void assertValue(Collection<T> value, Supplier<Stream<T>> source, boolean ordered) in assertValue() argument [all …]
|