Home
last modified time | relevance | path

Searched refs:lowerKey (Results 1 – 17 of 17) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeMapExtendTest.java112 assertNull(treeMap.lowerKey(1)); in test_TreeMap_Constructor_Default()
146 assertEquals(tm.lowerKey(key), treeMap.lowerKey(key)); in test_TreeMap_Constructor_Map()
7039 String key, lowerKey;
7048 lowerKey = (String) descendingKeySet.lower(key);
7050 lowerValue = Integer.valueOf(lowerKey);
7053 assertNull(lowerKey);
7058 lowerKey = (String) descendingKeySet.lower(key);
7059 assertEquals(101, Integer.parseInt(lowerKey));
7062 lowerKey = (String) descendingKeySet.lower(key);
7063 assertNull(lowerKey);
[all …]
DTreeMapTest.java1018 assertEquals(objArray[999].toString(), tm.lowerKey(testint9999 in test_lowerKey()
1020 assertEquals(objArray[100].toString(), tm.lowerKey(testint10000 in test_lowerKey()
1024 assertEquals(objArray[999].toString(), tm.lowerKey(testint9999 in test_lowerKey()
1026 assertEquals(objArray[100].toString(), tm.lowerKey(testint10000 in test_lowerKey()
1029 tm.lowerKey(testint10000); in test_lowerKey()
1035 tm.lowerKey(null); in test_lowerKey()
1041 assertNull(tm.lowerKey(testint9999.toString())); in test_lowerKey()
/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java125 K lowerKey(K key); in lowerKey() method
DTreeSet.java414 return m.lowerKey(e); in lower()
DCollections.java1927 public K lowerKey(K key) { return nm.lowerKey(key); }
2917 public K lowerKey(K key)
2918 { synchronized (mutex) { return nm.lowerKey(key); } }
4113 public K lowerKey(K key) { return nm.lowerKey(key); }
DTreeMap.java711 public K lowerKey(K key) { in lowerKey() method in TreeMap
1140 public E lower(E e) { return m.lowerKey(e); } in lower()
1562 public final K lowerKey(K key) { in lowerKey() method in TreeMap.NavigableSubMap
/libcore/ojluni/annotations/sdk/nullability/java/util/
DNavigableMap.annotated.java45 @libcore.util.Nullable public K lowerKey(@libcore.util.NullFromTypeParam K key); in lowerKey() method
DTreeMap.annotated.java76 @libcore.util.Nullable public K lowerKey(@libcore.util.NullFromTypeParam K key) { throw new Runtime… in lowerKey() method in TreeMap
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListSet.java350 return m.lowerKey(e); in lower()
DConcurrentSkipListMap.java2132 public K lowerKey(K key) { in lowerKey() method in ConcurrentSkipListMap
2368 public K lower(K e) { return m.lowerKey(e); } in lower()
3005 public K lowerKey(K key) { in lowerKey() method in ConcurrentSkipListMap.SubMap
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeMapTest.java435 Object e1 = q.lowerKey(three);
438 Object e2 = q.lowerKey(six);
441 Object e3 = q.lowerKey(one);
444 Object e4 = q.lowerKey(zero);
1054 assertEq(map.lowerKey(key), rs.lower(key));
DConcurrentSkipListMapTest.java554 Object e1 = q.lowerKey(three);
557 Object e2 = q.lowerKey(six);
560 Object e3 = q.lowerKey(one);
563 Object e4 = q.lowerKey(zero);
1249 assertEq(map.lowerKey(key), rs.lower(key));
/libcore/ojluni/src/test/java/util/concurrent/tck/
DTreeMapTest.java458 Object e1 = q.lowerKey(three);
461 Object e2 = q.lowerKey(six);
464 Object e3 = q.lowerKey(one);
467 Object e4 = q.lowerKey(zero);
1077 assertEq(map.lowerKey(key), rs.lower(key));
DConcurrentSkipListMapTest.java577 Object e1 = q.lowerKey(three);
580 Object e2 = q.lowerKey(six);
583 Object e3 = q.lowerKey(one);
586 Object e4 = q.lowerKey(zero);
1272 assertEq(map.lowerKey(key), rs.lower(key));
/libcore/luni/src/test/java/libcore/java/util/
DCollectionsTest.java816 K lowerKey = map.lowerKey(key); in check_unmodifiableNavigableMap_defaultMethods() local
817 if (lowerKey != null) { in check_unmodifiableNavigableMap_defaultMethods()
820 map.headMap(lowerKey, true /* inclusive */), in check_unmodifiableNavigableMap_defaultMethods()
885 assertEquals(floor, ceiling == null ? map.lastKey() : map.lowerKey(ceiling)); in check_unmodifiableNavigableMap_defaultMethods()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java1058 public K lowerKey(K key) { in lowerKey() method in Collections.CheckedNavigableMap
2546 public K lowerKey(K key) { in lowerKey() method in Collections.SynchronizedNavigableMap
3330 public K lowerKey(K key) { in lowerKey() method in Collections.UnmodifiableNavigableMap
/libcore/api/
Dcurrent.txt13340 method @Nullable public K lowerKey(K);
13984 method @Nullable public K lowerKey(K);
14438 method public K lowerKey(K);