Searched refs:higherKey (Results 1 - 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DNavigableMap.java51 * {@link #higherKey} return only the associated keys. All of these
212 K higherKey(K key); method in interface:NavigableMap
H A DTreeSet.java447 return m.higherKey(e);
H A DCollections.java1923 public K higherKey(K key) { return nm.higherKey(key); } method in class:Collections.UnmodifiableNavigableMap
2922 public K higherKey(K key) method in class:Collections.SynchronizedNavigableMap
2923 { synchronized (mutex) { return nm.higherKey(key); } }
4131 public K higherKey(K key) { return nm.higherKey(key); } method in class:Collections.CheckedNavigableMap
H A DTreeMap.java777 public K higherKey(K key) { method in class:TreeMap
1143 public E higher(E e) { return m.higherKey(e); }
1546 public final K higherKey(K key) { method in class:TreeMap.NavigableSubMap
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DTreeMapExtendTest.java114 assertNull(treeMap.higherKey(1));
148 assertEquals(tm.higherKey(key), treeMap.higherKey(key));
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
[all...]
H A DTreeMapTest.java1210 * {@link java.util.TreeMap#higherKey(Object)
1217 assertEquals(objArray[0].toString(), tm.higherKey(testint.toString()));
1218 assertEquals(objArray[101].toString(), tm.higherKey(testint100
1220 assertEquals(objArray[101].toString(), tm.higherKey(testint10000
1225 assertEquals(objArray[0].toString(), tm.higherKey(testint.toString()));
1226 assertEquals(testint10000.toString(), tm.higherKey(testint100
1228 assertEquals(objArray[101].toString(), tm.higherKey(testint10000
1230 assertNull(tm.higherKey(testint9999.toString()));
1232 tm.higherKey(testint100);
1238 tm.higherKey(nul
[all...]
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DConcurrentSkipListSet.java374 return m.higherKey(e);
H A DConcurrentSkipListMap.java2202 public K higherKey(K key) { method in class:ConcurrentSkipListMap
2371 public K higher(K e) { return m.higherKey(e); }
3021 public K higherKey(K key) { method in class:ConcurrentSkipListMap.SubMap
/libcore/jsr166-tests/src/test/java/jsr166/
H A DConcurrentSkipListMapTest.java568 * higherKey returns next element
572 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));
H A DTreeMapTest.java449 * higherKey returns next element
453 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));
/libcore/luni/src/test/java/libcore/java/util/
H A DCollectionsTest.java870 K higherKey = map.higherKey(key);
871 if (higherKey != null) {
872 // headMap inclusive of higherKey is same as exclusive of key
874 map.tailMap(higherKey, true /* inclusive */),
909 assertEquals(ceiling, floor == null ? map.firstKey() : map.higherKey(floor));

Completed in 293 milliseconds