Home
last modified time | relevance | path

Searched refs:isOrdered (Results 1 – 22 of 22) 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 …]
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()
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()
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 …]
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()
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()
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/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.java188 .resultAsserter((actual, expected, isOrdered, isParallel) -> { in testStable()
DToArrayOpTest.java153 if (!data.isOrdered()) { in statefulOpResultAsserter()
/libcore/ojluni/src/main/java/java/util/stream/
DReferencePipeline.java157 if (!isOrdered()) in unordered()
511 … && (!isOrdered() || collector.characteristics().contains(Collector.Characteristics.UNORDERED))) {
DAbstractPipeline.java512 final boolean isOrdered() { in isOrdered() method in AbstractPipeline
DIntPipeline.java332 if (!isOrdered())
DDoublePipeline.java295 if (!isOrdered())
DLongPipeline.java313 if (!isOrdered())