HomeSort by relevance Sort by last modified time
    Searched refs:spliterator (Results 76 - 100 of 133) sorted by null

1 2 34 5 6

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
LinkedHashMapTest.java 32 import java.util.Spliterator;
846 SpliteratorTester.runBasicIterationTests_unordered(keys.spliterator(), expectedKeys,
849 SpliteratorTester.testSpliteratorNPE(keys.spliterator());
851 assertTrue(keys.spliterator().hasCharacteristics(Spliterator.ORDERED));
877 SpliteratorTester.runBasicIterationTests_unordered(values.spliterator(), expectedValues,
880 SpliteratorTester.testSpliteratorNPE(values.spliterator());
882 assertTrue(values.spliterator().hasCharacteristics(Spliterator.ORDERED));
    [all...]
ArrayListTest.java 28 import java.util.Spliterator;
    [all...]
IdentityHashMapTest.java     [all...]
LinkedListTest.java 30 import java.util.Spliterator;
    [all...]
PriorityQueueTest.java 30 import java.util.Spliterator;
794 SpliteratorTester.runBasicIterationTests(list.spliterator(), testElements);
796 SpliteratorTester.testSpliteratorNPE(list.spliterator());
798 assertTrue(list.spliterator().hasCharacteristics(
799 Spliterator.SIZED | Spliterator.SUBSIZED));
809 Spliterator<Integer> sp = list.spliterator();
ArraysTest.java 30 import java.util.Spliterator;
    [all...]
ArrayDequeTest.java 28 import java.util.Spliterator;
    [all...]
VectorTest.java 34 import java.util.Spliterator;
    [all...]
  /libcore/ojluni/src/main/java/java/util/
Arrays.java 3901 public Spliterator<E> spliterator() { method in class:Arrays.ArrayList
4875 public static <T> Spliterator<T> spliterator(T[] array) { method in class:Arrays
4899 public static <T> Spliterator<T> spliterator(T[] array, int startInclusive, int endExclusive) { method in class:Arrays
4915 public static Spliterator.OfInt spliterator(int[] array) { method in class:Arrays
4938 public static Spliterator.OfInt spliterator(int[] array, int startInclusive, int endExclusive) { method in class:Arrays
4954 public static Spliterator.OfLong spliterator(long[] array) { method in class:Arrays
4977 public static Spliterator.OfLong spliterator(long[] array, int startInclusive, int endExclusive) { method in class:Arrays
4994 public static Spliterator.OfDouble spliterator(double[] array) { method in class:Arrays
5017 public static Spliterator.OfDouble spliterator(double[] array, int startInclusive, int endExclusive) { method in class:Arrays
    [all...]
Collections.java 1163 public Spliterator<E> spliterator() { method in class:Collections
    [all...]
TreeSet.java 537 * Creates a <em><a href="Spliterator.html#binding">late-binding</a></em>
538 * and <em>fail-fast</em> {@link Spliterator} over the elements in this
541 * <p>The {@code Spliterator} reports {@link Spliterator#SIZED},
542 * {@link Spliterator#DISTINCT}, {@link Spliterator#SORTED}, and
543 * {@link Spliterator#ORDERED}. Overriding implementations should document
546 * <p>The spliterator's comparator (see
547 * {@link java.util.Spliterator#getComparator()}) is {@code null} if
549 * Otherwise, the spliterator's comparator is the same as or imposes th
555 public Spliterator<E> spliterator() { method in class:TreeSet
    [all...]
LinkedList.java 1170 public Spliterator<E> spliterator() { method in class:LinkedList
    [all...]
IdentityHashMap.java 1051 public Spliterator<K> spliterator() { method in class:IdentityHashMap.KeySet
1137 public Spliterator<V> spliterator() { method in class:IdentityHashMap.Values
1260 public Spliterator<Map.Entry<K,V>> spliterator() { method in class:IdentityHashMap.EntrySet
    [all...]
  /libcore/ojluni/src/main/java/java/util/stream/
Stream.java 34 import java.util.Spliterator;
92 * functionality, the {@link #iterator()} and {@link #spliterator()} operations
    [all...]
Streams.java 29 import java.util.Spliterator;
59 * An {@code int} range spliterator.
61 static final class RangeIntSpliterator implements Spliterator.OfInt {
126 return Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SUBSIZED |
127 Spliterator.IMMUTABLE | Spliterator.NONNULL |
128 Spliterator.DISTINCT | Spliterator.SORTED
    [all...]
  /libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DoubleNodeTest.java 51 nodes.add(degenerateTree(Spliterators.iterator(Arrays.spliterator(array))));
163 SpliteratorTestHelper.testDoubleSpliterator(n::spliterator);
IntNodeTest.java 51 nodes.add(degenerateTree(Spliterators.iterator(Arrays.spliterator(array))));
161 SpliteratorTestHelper.testIntSpliterator(n::spliterator);
LongNodeTest.java 51 nodes.add(degenerateTree(Spliterators.iterator(Arrays.spliterator(array))));
162 SpliteratorTestHelper.testLongSpliterator(n::spliterator);
NodeTest.java 138 SpliteratorTestHelper.testSpliterator(n::spliterator);
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
ConcatOpTest.java 31 import java.util.Spliterator;
130 Spliterator<?> sp = s.spliterator();
132 assertFalse(sp.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED));
137 Spliterator<?> sp = s.spliterator();
139 assertTrue(sp.hasCharacteristics(Spliterator.SIZED | Spliterator.SUBSIZED));
SortedOpTest.java 130 Spliterator<Integer> s = to10.stream().sorted().spliterator();
131 assertTrue(s.hasCharacteristics(Spliterator.SORTED));
133 s = to10.stream().sorted(cInteger.reversed()).spliterator();
134 assertFalse(s.hasCharacteristics(Spliterator.SORTED));
246 return StreamSupport.intStream(Spliterators.spliteratorUnknownSize(Spliterators.iterator(Arrays.spliterator(a)), 0), false);
294 return StreamSupport.longStream(Spliterators.spliteratorUnknownSize(Spliterators.iterator(Arrays.spliterator(a)), 0), false);
342 return StreamSupport.doubleStream(Spliterators.spliteratorUnknownSize(Spliterators.iterator(Arrays.spliterator(a)), 0), false);
  /libcore/luni/src/main/java/java/util/concurrent/
ConcurrentSkipListSet.java 19 import java.util.Spliterator;
457 * Returns a {@link Spliterator} over the elements in this set.
459 * <p>The {@code Spliterator} reports {@link Spliterator#CONCURRENT},
460 * {@link Spliterator#NONNULL}, {@link Spliterator#DISTINCT},
461 * {@link Spliterator#SORTED} and {@link Spliterator#ORDERED}, with an
465 * <p>The spliterator's comparator (see
466 * {@link java.util.Spliterator#getComparator()}) is {@code null} i
474 public Spliterator<E> spliterator() { method in class:ConcurrentSkipListSet
    [all...]
ArrayBlockingQueue.java 16 import java.util.Spliterator;
1333 public Spliterator<E> spliterator() { method in class:ArrayBlockingQueue
    [all...]
ConcurrentLinkedQueue.java 16 import java.util.Spliterator;
786 static final class CLQSpliterator<E> implements Spliterator<E> {
796 public Spliterator<E> trySplit() {
816 return Spliterators.spliterator
817 (a, 0, i, (Spliterator.ORDERED |
818 Spliterator.NONNULL |
819 Spliterator.CONCURRENT));
889 public Spliterator<E> spliterator() { method in class:ConcurrentLinkedQueue
    [all...]
LinkedBlockingQueue.java 13 import java.util.Spliterator;
800 static final class LBQSpliterator<E> implements Spliterator<E> {
814 public Spliterator<E> trySplit() {
844 return Spliterators.spliterator
845 (a, 0, i, (Spliterator.ORDERED |
846 Spliterator.NONNULL |
847 Spliterator.CONCURRENT));
909 return Spliterator.ORDERED | Spliterator.NONNULL |
910 Spliterator.CONCURRENT
930 public Spliterator<E> spliterator() { method in class:LinkedBlockingQueue
    [all...]

Completed in 415 milliseconds

1 2 34 5 6