/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentSkipListSubSetTest.java | 12 import java.util.NavigableSet; 40 private NavigableSet<Integer> populatedSet(int n) { in populatedSet() 51 NavigableSet s = q.subSet(new Integer(0), true, new Integer(n), false); in populatedSet() 60 private NavigableSet set5() { in set5() 70 NavigableSet s = q.subSet(one, true, seven, false); in set5() 78 private NavigableSet dset5() { in dset5() 86 NavigableSet s = q.descendingSet(); in dset5() 91 private static NavigableSet set0() { in set0() 97 private static NavigableSet dset0() { in dset0() 114 NavigableSet q = set0(); in testEmpty() [all …]
|
D | TreeSubSetTest.java | 12 import java.util.NavigableSet; 41 private NavigableSet<Integer> populatedSet(int n) { in populatedSet() 51 NavigableSet s = q.subSet(new Integer(0), true, new Integer(n), false); in populatedSet() 60 private NavigableSet set5() { in set5() 70 NavigableSet s = q.subSet(one, true, seven, false); in set5() 75 private NavigableSet dset5() { in dset5() 83 NavigableSet s = q.descendingSet(); in dset5() 88 private static NavigableSet set0() { in set0() 94 private static NavigableSet dset0() { in dset0() 111 NavigableSet q = set0(); in testEmpty() [all …]
|
D | TreeSetTest.java | 14 import java.util.NavigableSet; 533 NavigableSet x = populatedSet(SIZE); in testSerialization() 534 NavigableSet y = serialClone(x); in testSerialization() 676 NavigableSet<Integer> set = newSet(cl); in testRecursiveSubSets() 702 static NavigableSet<Integer> newSet(Class cl) throws Exception { in newSet() 703 NavigableSet<Integer> result = (NavigableSet<Integer>) cl.newInstance(); in newSet() 709 void populate(NavigableSet<Integer> set, int limit) { in populate() 716 void mutateSet(NavigableSet<Integer> set, int min, int max) { in mutateSet() 741 void mutateSubSet(NavigableSet<Integer> set, int min, int max) { in mutateSubSet() 772 void put(NavigableSet<Integer> set, int element) { in put() [all …]
|
D | ConcurrentSkipListSetTest.java | 14 import java.util.NavigableSet; 491 NavigableSet s = new ConcurrentSkipListSet(); in testEmptyIterator() 530 NavigableSet x = populatedSet(SIZE); in testSerialization() 531 NavigableSet y = serialClone(x); in testSerialization() 672 NavigableSet<Integer> set = newSet(cl); in testRecursiveSubSets() 698 static NavigableSet<Integer> newSet(Class cl) throws Exception { in newSet() 699 NavigableSet<Integer> result = (NavigableSet<Integer>) cl.newInstance(); in newSet() 705 void populate(NavigableSet<Integer> set, int limit, BitSet bs) { in populate() 712 void mutateSet(NavigableSet<Integer> set, int min, int max, BitSet bs) { in mutateSet() 737 void mutateSubSet(NavigableSet<Integer> set, int min, int max, in mutateSubSet() [all …]
|
D | TreeMapTest.java | 15 import java.util.NavigableSet; 201 NavigableSet s = map.navigableKeySet(); 239 NavigableSet s = map.descendingKeySet(); in testDescendingKeySetDescendingIteratorOrder()
|
D | ConcurrentSkipListMapTest.java | 16 import java.util.NavigableSet; 202 NavigableSet s = map.navigableKeySet(); 240 NavigableSet s = map.descendingKeySet(); in testDescendingKeySetDescendingIteratorOrder()
|
/libcore/ojluni/src/main/java/java/util/ |
D | NavigableSet.java | 90 public interface NavigableSet<E> extends SortedSet<E> { interface 185 NavigableSet<E> descendingSet(); in descendingSet() 230 NavigableSet<E> subSet(E fromElement, boolean fromInclusive, in subSet() 260 NavigableSet<E> headSet(E toElement, boolean inclusive); in headSet() 289 NavigableSet<E> tailSet(E fromElement, boolean inclusive); in tailSet()
|
D | TreeSet.java | 93 implements NavigableSet<E>, Cloneable, java.io.Serializable 197 public NavigableSet<E> descendingSet() { in descendingSet() 323 public NavigableSet<E> subSet(E fromElement, boolean fromInclusive, in subSet() 337 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() 349 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet()
|
D | NavigableMap.java | 281 NavigableSet<K> navigableKeySet(); in navigableKeySet() 297 NavigableSet<K> descendingKeySet(); in descendingKeySet()
|
D | Collections.java | 1246 public static <T> NavigableSet<T> unmodifiableNavigableSet(NavigableSet<T> s) { in unmodifiableNavigableSet() 1258 implements NavigableSet<E>, Serializable { 1280 private static final NavigableSet<?> EMPTY_NAVIGABLE_SET = 1286 private final NavigableSet<E> ns; 1288 UnmodifiableNavigableSet(NavigableSet<E> s) {super(s); ns = s;} in UnmodifiableNavigableSet() 1296 public NavigableSet<E> descendingSet() in descendingSet() 1301 …public NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusi… in subSet() 1306 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() 1311 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() 1907 public NavigableSet<K> navigableKeySet() [all …]
|
D | TreeMap.java | 824 public NavigableSet<K> navigableKeySet() { in navigableKeySet() 832 public NavigableSet<K> descendingKeySet() { in descendingKeySet() 1118 static final class KeySet<E> extends AbstractSet<E> implements NavigableSet<E> { 1160 public NavigableSet<E> subSet(E fromElement, boolean fromInclusive, in subSet() 1165 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() 1168 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() 1180 public NavigableSet<E> descendingSet() { in descendingSet() 1603 public final NavigableSet<K> navigableKeySet() { in navigableKeySet() 1613 public NavigableSet<K> descendingKeySet() { in descendingKeySet()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentNavigableMap.java | 39 import java.util.NavigableSet; 130 NavigableSet<K> navigableKeySet(); in navigableKeySet() 150 NavigableSet<K> keySet(); in keySet() 168 NavigableSet<K> descendingKeySet(); in descendingKeySet()
|
D | ConcurrentSkipListSet.java | 45 import java.util.NavigableSet; 98 implements NavigableSet<E>, Cloneable, java.io.Serializable { 414 public NavigableSet<E> subSet(E fromElement, in subSet() 428 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() 437 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() 447 public NavigableSet<E> subSet(E fromElement, E toElement) { in subSet() 456 public NavigableSet<E> headSet(E toElement) { in headSet() 465 public NavigableSet<E> tailSet(E fromElement) { in tailSet() 481 public NavigableSet<E> descendingSet() { in descendingSet()
|
D | ConcurrentSkipListMap.java | 50 import java.util.NavigableSet; 1829 public NavigableSet<K> keySet() { in keySet() 1834 public NavigableSet<K> navigableKeySet() { in navigableKeySet() 1901 public NavigableSet<K> descendingKeySet() { in descendingKeySet() 2360 extends AbstractSet<K> implements NavigableSet<K> { 2407 public NavigableSet<K> subSet(K fromElement, in subSet() 2414 public NavigableSet<K> headSet(K toElement, boolean inclusive) { in headSet() 2417 public NavigableSet<K> tailSet(K fromElement, boolean inclusive) { in tailSet() 2420 public NavigableSet<K> subSet(K fromElement, K toElement) { in subSet() 2423 public NavigableSet<K> headSet(K toElement) { in headSet() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TreeSetTest.java | 19 import java.util.NavigableSet; 42 new SerializationTester<NavigableSet<String>>(set, s) { in testSerializationWithComparator() 43 @Override protected void verify(NavigableSet<String> deserialized) { in testSerializationWithComparator() 114 NavigableSet<String> descendingSet = set.descendingSet(); in testDescendingSetSerialization() 115 new SerializationTester<NavigableSet<String>>(descendingSet, s) { in testDescendingSetSerialization() 116 @Override protected void verify(NavigableSet<String> deserialized) { in testDescendingSetSerialization()
|
D | CollectionsTest.java | 37 import java.util.NavigableSet; 382 NavigableSet set = Collections.checkedNavigableSet(new TreeSet<>(), String.class); in test_checkedNavigableSet() 399 NavigableSet set = Collections.checkedNavigableSet(new TreeSet<>(), String.class); in test_checkedNavigableSet_isChecked() 637 NavigableSet<String> set = Collections.unmodifiableNavigableSet(new TreeSet<>()); in test_unmodifiableNavigableSet_empty() 643 NavigableSet<String> delegate = new TreeSet<>(); in test_unmodifiableNavigableSet_nonEmpty() 644 NavigableSet<String> set = Collections.unmodifiableNavigableSet(delegate); in test_unmodifiableNavigableSet_nonEmpty() 724 NavigableSet<String> set = map.navigableKeySet(); in test_synchronizedNavigableMap_navigableKeySet() 731 NavigableSet<String> set = map.descendingMap().descendingKeySet(); in test_synchronizedNavigableMap_descendingMap_descendingKeySet() 738 NavigableSet<String> set = map.descendingKeySet(); in test_synchronizedNavigableMap_descendingKeySet() 753 NavigableSet<String> set = map.descendingMap().navigableKeySet(); in test_synchronizedNavigableMap_descendingMap_navigableKeySet() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapExtendTest.java | 29 import java.util.NavigableSet; 3437 NavigableSet descendingSet; in test_DescendingSubMapEntrySet_comparator() 3443 if (entrySet instanceof NavigableSet) { in test_DescendingSubMapEntrySet_comparator() 3444 descendingSet = ((NavigableSet) entrySet).descendingSet(); in test_DescendingSubMapEntrySet_comparator() 3445 assertNull(((NavigableSet) entrySet).comparator()); in test_DescendingSubMapEntrySet_comparator() 3460 if (entrySet instanceof NavigableSet) { in test_DescendingSubMapEntrySet_comparator() 3461 descendingSet = ((NavigableSet) entrySet).descendingSet(); in test_DescendingSubMapEntrySet_comparator() 3462 assertNull(((NavigableSet) entrySet).comparator()); in test_DescendingSubMapEntrySet_comparator() 3477 if (entrySet instanceof NavigableSet) { in test_DescendingSubMapEntrySet_comparator() 3478 descendingSet = ((NavigableSet) entrySet).descendingSet(); in test_DescendingSubMapEntrySet_comparator() [all …]
|
D | TreeMapTest.java | 38 import java.util.NavigableSet; 1252 NavigableSet set = tm.navigableKeySet(); in test_navigableKeySet()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 165 public static <T> java.util.NavigableSet<T> unmodifiableNavigableSet( in unmodifiableNavigableSet() 166 java.util.NavigableSet<T> s) { in unmodifiableNavigableSet() 210 public static <T> java.util.NavigableSet<T> synchronizedNavigableSet( in synchronizedNavigableSet() 211 java.util.NavigableSet<T> s) { in synchronizedNavigableSet() 260 public static <E> java.util.NavigableSet<E> checkedNavigableSet( in checkedNavigableSet() 261 java.util.NavigableSet<E> s, java.lang.Class<E> type) { in checkedNavigableSet() 307 public static <E> java.util.NavigableSet<E> emptyNavigableSet() { in emptyNavigableSet() 1106 public java.util.NavigableSet<K> keySet() { in keySet() 1110 public java.util.NavigableSet<K> navigableKeySet() { in navigableKeySet() 1114 public java.util.NavigableSet<K> descendingKeySet() { in descendingKeySet() [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | NavigableMap.annotated.java | 69 @libcore.util.NonNull public java.util.NavigableSet<@libcore.util.NullFromTypeParam K> navigableKey… in navigableKeySet() 71 @libcore.util.NonNull public java.util.NavigableSet<@libcore.util.NullFromTypeParam K> descendingKe… in descendingKeySet()
|
D | Collections.annotated.java | 80 …tic <T> java.util.NavigableSet<@libcore.util.NullFromTypeParam T> unmodifiableNavigableSet(@libcor… in unmodifiableNavigableSet() 96 …tic <T> java.util.NavigableSet<@libcore.util.NullFromTypeParam T> synchronizedNavigableSet(@libcor… in synchronizedNavigableSet() 114 …tatic <E> java.util.NavigableSet<@libcore.util.NullFromTypeParam E> checkedNavigableSet(@libcore.u… in checkedNavigableSet() 134 @libcore.util.NonNull public static <E> java.util.NavigableSet<@libcore.util.NullFromTypeParam E> e… in emptyNavigableSet()
|
D | TreeMap.annotated.java | 92 @libcore.util.NonNull public java.util.NavigableSet<@libcore.util.NullFromTypeParam K> navigableKey… in navigableKeySet() 94 @libcore.util.NonNull public java.util.NavigableSet<@libcore.util.NullFromTypeParam K> descendingKe… in descendingKeySet()
|
/libcore/ |
D | openjdk_java_files.bp | 1133 "ojluni/src/main/java/java/util/NavigableSet.java",
|