Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeMapExtendTest.java114 assertNull(treeMap.higherKey(1)); in test_TreeMap_Constructor_Default()
148 assertEquals(tm.higherKey(key), treeMap.higherKey(key)); in test_TreeMap_Constructor_Map()
7267 String key, higherKey;
7276 higherKey = (String) descendingKeySet.higher(key);
7278 higherValue = Integer.valueOf(higherKey);
7281 assertNull(higherKey);
7286 higherKey = (String) descendingKeySet.higher(key);
7287 assertEquals("108", higherKey);
7290 higherKey = (String) descendingKeySet.higher(key);
7291 assertNull(higherKey);
[all …]
DTreeMapTest.java1217 assertEquals(objArray[0].toString(), tm.higherKey(testint.toString())); in test_higherKey()
1218 assertEquals(objArray[101].toString(), tm.higherKey(testint100 in test_higherKey()
1220 assertEquals(objArray[101].toString(), tm.higherKey(testint10000 in test_higherKey()
1225 assertEquals(objArray[0].toString(), tm.higherKey(testint.toString())); in test_higherKey()
1226 assertEquals(testint10000.toString(), tm.higherKey(testint100 in test_higherKey()
1228 assertEquals(objArray[101].toString(), tm.higherKey(testint10000 in test_higherKey()
1230 assertNull(tm.higherKey(testint9999.toString())); in test_higherKey()
1232 tm.higherKey(testint100); in test_higherKey()
1238 tm.higherKey(null); in test_higherKey()
1244 assertNull(tm.higherKey(testint.toString())); in test_higherKey()
/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java212 K higherKey(K key); in higherKey() method
DTreeSet.java447 return m.higherKey(e); in higher()
DCollections.java1930 public K higherKey(K key) { return nm.higherKey(key); }
2929 public K higherKey(K key)
2930 { synchronized (mutex) { return nm.higherKey(key); } }
4140 public K higherKey(K key) { return nm.higherKey(key); }
DTreeMap.java777 public K higherKey(K key) { in higherKey() method in TreeMap
1143 public E higher(E e) { return m.higherKey(e); } in higher()
1546 public final K higherKey(K key) { in higherKey() method in TreeMap.NavigableSubMap
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListSet.java374 return m.higherKey(e); in higher()
DConcurrentSkipListMap.java2202 public K higherKey(K key) { in higherKey() method in ConcurrentSkipListMap
2371 public K higher(K e) { return m.higherKey(e); } in higher()
3021 public K higherKey(K key) { in higherKey() method in ConcurrentSkipListMap.SubMap
/libcore/ojluni/annotations/sdk/nullability/java/util/
DNavigableMap.annotated.java57 @libcore.util.Nullable public K higherKey(@libcore.util.NullFromTypeParam K key); in higherKey() method
DTreeMap.annotated.java88 @libcore.util.Nullable public K higherKey(@libcore.util.NullFromTypeParam K key) { throw new Runtim… in higherKey() method in TreeMap
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeMapTest.java453 Object e1 = q.higherKey(three);
456 Object e2 = q.higherKey(zero);
459 Object e3 = q.higherKey(five);
462 Object e4 = q.higherKey(six);
1056 assertEq(map.higherKey(key), rs.higher(key));
DConcurrentSkipListMapTest.java572 Object e1 = q.higherKey(three);
575 Object e2 = q.higherKey(zero);
578 Object e3 = q.higherKey(five);
581 Object e4 = q.higherKey(six);
1251 assertEq(map.higherKey(key), rs.higher(key));
/libcore/luni/src/test/java/libcore/java/util/
DCollectionsTest.java845 K higherKey = map.higherKey(key); in check_unmodifiableNavigableMap_defaultMethods() local
846 if (higherKey != null) { in check_unmodifiableNavigableMap_defaultMethods()
849 map.tailMap(higherKey, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods()
884 assertEquals(ceiling, floor == null ? map.firstKey() : map.higherKey(floor)); in check_unmodifiableNavigableMap_defaultMethods()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java1082 public K higherKey(K key) { in higherKey() method in Collections.CheckedNavigableMap
2570 public K higherKey(K key) { in higherKey() method in Collections.SynchronizedNavigableMap
3342 public K higherKey(K key) { in higherKey() method in Collections.UnmodifiableNavigableMap