/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapExtendTest.java | 1607 NavigableMap descendingMap = navigableMap_startExcluded_endExcluded in test_AscendingSubMap_descendingMap() local 1608 .descendingMap(); in test_AscendingSubMap_descendingMap() 1610 descendingMap.size()); in test_AscendingSubMap_descendingMap() 1611 assertNotNull(descendingMap.comparator()); in test_AscendingSubMap_descendingMap() 1614 descendingMap.lastKey()); in test_AscendingSubMap_descendingMap() 1616 descendingMap.lastEntry()); in test_AscendingSubMap_descendingMap() 1619 descendingMap.firstKey()); in test_AscendingSubMap_descendingMap() 1621 descendingMap.firstEntry()); in test_AscendingSubMap_descendingMap() 1623 descendingMap = navigableMap_startExcluded_endIncluded.descendingMap(); in test_AscendingSubMap_descendingMap() 1625 descendingMap.size()); in test_AscendingSubMap_descendingMap() [all …]
|
D | TreeMapTest.java | 701 vals = tm.descendingMap().values(); in test_values() 797 vals = myTreeMap.descendingMap().headMap(400).values(); in test_subMap_values_size() 813 vals = myTreeMap.descendingMap().tailMap(400).values(); in test_subMap_values_size() 1445 s = tm.descendingMap(); in test_subMapLjava_lang_ObjectZLjava_lang_ObjectZ() 1732 NavigableMap<Integer, Object> descMap = tm.descendingMap(); in test_descendingMap_subMap() 1742 mapIntObj = mapIntObj.descendingMap(); in test_descendingMap_subMap()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TreeMapTest.java | 291 Set s = map.descendingMap().entrySet(); 324 Set s = map.descendingMap().entrySet(); 798 check(map.descendingMap(), 0, mapSize - 1, false); 802 check(map.descendingMap(), 0, mapSize - 1, false); 892 check(map.descendingMap(), min, max, !ascending); 896 check(map.descendingMap(), min, max, !ascending); 910 bashSubMap(hm.descendingMap(), min, midPoint - (incl ? 0 : 1), 916 bashSubMap(hm.descendingMap(), midPoint + (incl ? 0 : 1), max, 927 bashSubMap(tm.descendingMap(), midPoint + (incl ? 0 : 1), max, 933 bashSubMap(tm.descendingMap(), min, midPoint - (incl ? 0 : 1), [all …]
|
D | ConcurrentSkipListMapTest.java | 308 Set s = map.descendingMap().entrySet(); 341 Set s = map.descendingMap().entrySet(); 993 check(map.descendingMap(), 0, mapSize - 1, false); 997 check(map.descendingMap(), 0, mapSize - 1, false); 1087 check(map.descendingMap(), min, max, !ascending); 1091 check(map.descendingMap(), min, max, !ascending); 1105 bashSubMap(hm.descendingMap(), min, midPoint - (incl ? 0 : 1), 1111 bashSubMap(hm.descendingMap(), midPoint + (incl ? 0 : 1), max, 1122 bashSubMap(tm.descendingMap(), midPoint + (incl ? 0 : 1), max, 1128 bashSubMap(tm.descendingMap(), min, midPoint - (incl ? 0 : 1), [all …]
|
D | TreeSubMapTest.java | 70 return map.descendingMap(); in dmap5()
|
D | ConcurrentSkipListSubMapTest.java | 65 return map.descendingMap(); in dmap5()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentNavigableMap.java | 112 ConcurrentNavigableMap<K,V> descendingMap(); in descendingMap() method
|
D | ConcurrentSkipListSet.java | 482 return new ConcurrentSkipListSet<E>(m.descendingMap()); in descendingSet()
|
D | ConcurrentSkipListMap.java | 384 private transient ConcurrentNavigableMap<K,V> descendingMap; field in ConcurrentSkipListMap 395 descendingMap = null; in initialize() 1895 public ConcurrentNavigableMap<K,V> descendingMap() { in descendingMap() method in ConcurrentSkipListMap 1896 ConcurrentNavigableMap<K,V> dm = descendingMap; in descendingMap() 1897 return (dm != null) ? dm : (descendingMap = new SubMap<K,V> in descendingMap() 1902 return descendingMap().navigableKeySet(); in descendingKeySet() 2430 return new KeySet<>(m.descendingMap()); in descendingSet() 2986 public SubMap<K,V> descendingMap() { in descendingMap() method in ConcurrentSkipListMap.SubMap 3072 return descendingMap().navigableKeySet(); in descendingKeySet()
|
/libcore/ojluni/src/main/java/java/util/ |
D | NavigableMap.java | 265 NavigableMap<K,V> descendingMap(); in descendingMap() method
|
D | TreeMap.java | 643 clone.descendingMap = null; in clone() 790 private transient NavigableMap<K,V> descendingMap; field in TreeMap 833 return descendingMap().navigableKeySet(); in descendingKeySet() 896 public NavigableMap<K, V> descendingMap() { in descendingMap() method in TreeMap 897 NavigableMap<K, V> km = descendingMap; in descendingMap() 899 (descendingMap = new DescendingSubMap<>(this, in descendingMap() 1181 return new KeySet<>(m.descendingMap()); in descendingSet() 1614 return descendingMap().navigableKeySet(); in descendingKeySet() 1903 public NavigableMap<K,V> descendingMap() { in descendingMap() method in TreeMap.AscendingSubMap 1996 public NavigableMap<K,V> descendingMap() { in descendingMap() method in TreeMap.DescendingSubMap [all …]
|
D | TreeSet.java | 198 return new TreeSet<>(m.descendingMap()); in descendingSet()
|
D | Collections.java | 1985 public NavigableMap<K, V> descendingMap() 1986 { return unmodifiableNavigableMap(nm.descendingMap()); } 2940 public NavigableMap<K, V> descendingMap() { 2943 new SynchronizedNavigableMap<>(nm.descendingMap(), mutex); 4170 public NavigableMap<K, V> descendingMap() { 4171 return checkedNavigableMap(nm.descendingMap(), keyType, valueType);
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CollectionsTest.java | 731 NavigableSet<String> set = map.descendingMap().descendingKeySet(); in test_synchronizedNavigableMap_descendingMap_descendingKeySet() 746 Set<String> set = map.descendingMap().keySet(); in test_synchronizedNavigableMap_descendingMap_keySet() 753 NavigableSet<String> set = map.descendingMap().navigableKeySet(); in test_synchronizedNavigableMap_descendingMap_navigableKeySet() 767 Collection<Integer> values = map.descendingMap().values(); in test_synchronizedNavigableMap_descendingMap_values() 790 check_unmodifiableOrderedMap_defaultMethods(map.descendingMap(), reverseKeys, in check_unmodifiableNavigableMap_defaultMethods() 963 map.descendingMap().descendingKeySet(), keysInOrder, absentKey); in check_unmodifiableNavigableMap_collectionViews() 969 check_unmodifiableSet(map.descendingMap().keySet(), absentKey); in check_unmodifiableNavigableMap_collectionViews() 970 check_orderedSet(map.descendingMap().keySet(), reverseKeys); in check_unmodifiableNavigableMap_collectionViews() 974 map.descendingMap().navigableKeySet(), reverseKeys, absentKey); in check_unmodifiableNavigableMap_collectionViews() 981 … check_unmodifiableOrderedCollection(map.descendingMap().values(), reverseCopyOf(valuesInOrder)); in check_unmodifiableNavigableMap_collectionViews() [all …]
|
D | TreeMapTest.java | 210 map.descendingMap().put(null, "b"); in testNullsWithNaturalOrder() 416 NavigableMap<String, String> descendingMap = map.descendingMap(); in testDescendingMapSerialization() local 417 new SerializationTester<NavigableMap<String, String>>(descendingMap, s) { in testDescendingMapSerialization() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | NavigableMap.annotated.java | 67 …NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> descendingMap(); in descendingMap() method
|
D | TreeMap.annotated.java | 100 …@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> descendingMap() { throw new … in descendingMap() method in TreeMap
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 122 …ps.put(TreeMap.class.getName() + ".descendingMap()", () -> new TreeMap<>(content).descendingMap()); in createMaps()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 1102 public java.util.NavigableMap<K, V> descendingMap() { in descendingMap() method in Collections.CheckedNavigableMap 2590 public java.util.NavigableMap<K, V> descendingMap() { in descendingMap() method in Collections.SynchronizedNavigableMap 3378 public java.util.NavigableMap<K, V> descendingMap() { in descendingMap() method in Collections.UnmodifiableNavigableMap
|