Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DSpliteratorTestHelper.java48 void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered); in assertContents() argument
204 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testForEach()
224 asserter.assertContents(fromForEach, exp, isOrdered); in testForEach()
234 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testTryAdvance()
254 asserter.assertContents(fromTryAdvance, exp, isOrdered); in testTryAdvance()
264 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTryAdvanceForEach()
285 asserter.assertContents(dest, exp, isOrdered); in testMixedTryAdvanceForEach()
295 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTraverseAndSplit()
329 asserter.assertContents(dest, exp, isOrdered); in testMixedTraverseAndSplit()
362 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testSplitOnce()
[all …]
DLongStreamTestScenario.java203 private final boolean isOrdered; field in LongStreamTestScenario
209 LongStreamTestScenario(boolean isParallel, boolean isOrdered) { in LongStreamTestScenario() argument
211 this.isOrdered = isOrdered; in LongStreamTestScenario()
222 public boolean isOrdered() { in isOrdered() method in LongStreamTestScenario
223 return isOrdered; in isOrdered()
DIntStreamTestScenario.java204 private final boolean isOrdered; field in IntStreamTestScenario
210 IntStreamTestScenario(boolean isParallel, boolean isOrdered) { in IntStreamTestScenario() argument
212 this.isOrdered = isOrdered; in IntStreamTestScenario()
223 public boolean isOrdered() { in isOrdered() method in IntStreamTestScenario
224 return isOrdered; in isOrdered()
DDoubleStreamTestScenario.java204 private final boolean isOrdered; field in DoubleStreamTestScenario
210 DoubleStreamTestScenario(boolean isParallel, boolean isOrdered) { in DoubleStreamTestScenario() argument
212 this.isOrdered = isOrdered; in DoubleStreamTestScenario()
223 public boolean isOrdered() { in isOrdered() method in DoubleStreamTestScenario
224 return isOrdered; in isOrdered()
DStreamTestScenario.java242 private final boolean isOrdered; field in StreamTestScenario
248 StreamTestScenario(boolean isParallel, boolean isOrdered) { in StreamTestScenario() argument
250 this.isOrdered = isOrdered; in StreamTestScenario()
261 public boolean isOrdered() { in isOrdered() method in StreamTestScenario
262 return isOrdered; in isOrdered()
DOpTestCase.java86 void assertResult(R actual, R expected, boolean isOrdered, boolean isParallel); in assertResult() argument
96 boolean isOrdered(); in isOrdered() method
398 … resultAsserter.assertResult(result, refResult, isStreamOrdered && test.isOrdered(), test.isParall… in exercise()
547 boolean isOrdered = StreamOpFlag.ORDERED.isKnown(ap.getStreamFlags()); in exercise()
578 … () -> resultAsserter.assertResult(result, refResult, isOrdered, test.requiresParallelSource()), in exercise()
DTestData.java54 default boolean isOrdered() { in isOrdered() method
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DSpliteratorTestHelper.java48 void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered); in assertContents() argument
204 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testForEach()
224 asserter.assertContents(fromForEach, exp, isOrdered); in testForEach()
234 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testTryAdvance()
254 asserter.assertContents(fromTryAdvance, exp, isOrdered); in testTryAdvance()
264 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTryAdvanceForEach()
285 asserter.assertContents(dest, exp, isOrdered); in testMixedTryAdvanceForEach()
295 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTraverseAndSplit()
329 asserter.assertContents(dest, exp, isOrdered); in testMixedTraverseAndSplit()
362 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testSplitOnce()
[all …]
DLongStreamTestScenario.java200 private final boolean isOrdered; field in LongStreamTestScenario
206 LongStreamTestScenario(boolean isParallel, boolean isOrdered) { in LongStreamTestScenario() argument
208 this.isOrdered = isOrdered; in LongStreamTestScenario()
219 public boolean isOrdered() { in isOrdered() method in LongStreamTestScenario
220 return isOrdered; in isOrdered()
DIntStreamTestScenario.java201 private final boolean isOrdered; field in IntStreamTestScenario
207 IntStreamTestScenario(boolean isParallel, boolean isOrdered) { in IntStreamTestScenario() argument
209 this.isOrdered = isOrdered; in IntStreamTestScenario()
220 public boolean isOrdered() { in isOrdered() method in IntStreamTestScenario
221 return isOrdered; in isOrdered()
DDoubleStreamTestScenario.java200 private final boolean isOrdered; field in DoubleStreamTestScenario
206 DoubleStreamTestScenario(boolean isParallel, boolean isOrdered) { in DoubleStreamTestScenario() argument
208 this.isOrdered = isOrdered; in DoubleStreamTestScenario()
219 public boolean isOrdered() { in isOrdered() method in DoubleStreamTestScenario
220 return isOrdered; in isOrdered()
DStreamTestScenario.java239 private final boolean isOrdered; field in StreamTestScenario
245 StreamTestScenario(boolean isParallel, boolean isOrdered) { in StreamTestScenario() argument
247 this.isOrdered = isOrdered; in StreamTestScenario()
258 public boolean isOrdered() { in isOrdered() method in StreamTestScenario
259 return isOrdered; in isOrdered()
DOpTestCase.java85 void assertResult(R actual, R expected, boolean isOrdered, boolean isParallel); in assertResult() argument
95 boolean isOrdered(); in isOrdered() method
397 … resultAsserter.assertResult(result, refResult, isStreamOrdered && test.isOrdered(), test.isParall… in exercise()
546 boolean isOrdered = StreamOpFlag.ORDERED.isKnown(ap.getStreamFlags()); in exercise()
577 … () -> resultAsserter.assertResult(result, refResult, isOrdered, test.requiresParallelSource()), in exercise()
DTestData.java53 default boolean isOrdered() { in isOrdered() method
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/
DSpliteratorTestHelper.java37 void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered); in assertContents() argument
252 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testForEach()
275 asserter.assertContents(fromForEach, exp, isOrdered); in testForEach()
285 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testTryAdvance()
305 asserter.assertContents(fromTryAdvance, exp, isOrdered); in testTryAdvance()
315 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTryAdvanceForEach()
336 asserter.assertContents(dest, exp, isOrdered); in testMixedTryAdvanceForEach()
346 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testMixedTraverseAndSplit()
380 asserter.assertContents(dest, exp, isOrdered); in testMixedTraverseAndSplit()
413 boolean isOrdered = spliterator.hasCharacteristics(Spliterator.ORDERED); in testSplitOnce()
[all …]
/libcore/ojluni/src/main/java/java/util/stream/
DWhileOps.java1193 private final boolean isOrdered;
1207 this.isOrdered = StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags());
1214 this.isOrdered = parent.isOrdered;
1248 if (isOrdered && canceled) {
1252 else if (isOrdered && leftChild.shortCircuited) {
1291 if (isOrdered && completed)
1323 private final boolean isOrdered;
1338 this.isOrdered = StreamOpFlag.ORDERED.isKnown(helper.getStreamAndOpFlags());
1345 this.isOrdered = parent.isOrdered;
1358 … long sizeIfKnown = isChild && isOrdered && StreamOpFlag.SIZED.isPreserved(op.sourceOrOpFlags)
[all …]
DReferencePipeline.java163 if (!isOrdered()) in unordered()
700 … && (!isOrdered() || collector.characteristics().contains(Collector.Characteristics.UNORDERED))) {
DAbstractPipeline.java542 final boolean isOrdered() { in isOrdered() method in AbstractPipeline
DIntPipeline.java382 if (!isOrdered())
DLongPipeline.java364 if (!isOrdered())
DDoublePipeline.java348 if (!isOrdered())
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DSliceSpliteratorTest.java51 … public void assertContents(Collection<T> actual, Collection<T> expected, boolean isOrdered) { in assertContents() argument
52 if (isOrdered) { in assertContents()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DDistinctOpTest.java187 .resultAsserter((actual, expected, isOrdered, isParallel) -> { in testStable()
DToArrayOpTest.java156 if (!data.isOrdered()) { in statefulOpResultAsserter()