Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/
DSpliteratorTester.java113 Iterable<T> spliterable, List<T> expectedElements) { in runBasicSplitTests() argument
114 runBasicSplitTests(spliterable, expectedElements, T::compareTo); in runBasicSplitTests()
159 public static <T> void assertSupportsTrySplit(Iterable spliterable) { in assertSupportsTrySplit() argument
160 assertNotNull(spliterable.spliterator().trySplit()); in assertSupportsTrySplit()
162 assertTrue("Expected nonempty iterable, got " + spliterable, in assertSupportsTrySplit()
163 spliterable.iterator().hasNext()); in assertSupportsTrySplit()
173 public static <T> void runBasicSplitTests(Iterable<T> spliterable, in runBasicSplitTests() argument
175 runBasicSplitTests(spliterable.spliterator(), expectedElements, comparator); in runBasicSplitTests()
192 public static <T> void runOrderedTests(Iterable<T> spliterable) { in runOrderedTests() argument
193 List<T> elements = toList(spliterable.spliterator()); in runOrderedTests()
[all …]