Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java211 K higherKey(K key); in higherKey() method
DTreeSet.java447 return m.higherKey(e); in higher()
DTreeMap.java801 public K higherKey(K key) { in higherKey() method in TreeMap
1163 public E higher(E e) { return m.higherKey(e); } in higher()
1566 public final K higherKey(K key) { in higherKey() method in TreeMap.NavigableSubMap
/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/luni/src/main/java/java/util/concurrent/
DConcurrentSkipListSet.java345 return m.higherKey(e); in higher()
DConcurrentSkipListMap.java2173 public K higherKey(K key) { in higherKey() method in ConcurrentSkipListMap
2342 public K higher(K e) { return m.higherKey(e); } in higher()
2992 public K higherKey(K key) { in higherKey() method in ConcurrentSkipListMap.SubMap
/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));