Home
last modified time | relevance | path

Searched refs:ceiling (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DNavigableSet.java131 E ceiling(E e); in ceiling() method
DTreeSet.java435 public E ceiling(E e) { in ceiling() method in TreeSet
DCollections.java1292 public E ceiling(E e) { return ns.ceiling(e); } in ceiling() method in UnmodifiableNavigableSet
1950 Entry<K,V> ceiling = (Entry<K, V>) nm.ceilingEntry(key);
1951 return (null != ceiling)
1952 ? new UnmodifiableEntrySet.UnmodifiableEntry<>(ceiling)
2352 public E ceiling(E e) { synchronized (mutex) {return ns.ceiling(e);} }
3401 public E ceiling(E e) { return ns.ceiling(e); }
4125 Entry<K,V> ceiling = nm.ceilingEntry(key);
4126 return (null != ceiling)
4127 ? new CheckedMap.CheckedEntrySet.CheckedEntry<>(ceiling, valueType)
DTreeMap.java1142 public E ceiling(E e) { return m.ceilingKey(e); } in ceiling() method in TreeMap.KeySet
/libcore/luni/src/test/java/libcore/java/util/
DCollectionsTest.java654 assertEquals("pear", set.ceiling("nonexistent")); in test_unmodifiableNavigableSet_nonEmpty()
877 K ceiling = map.ceilingKey(absentKey); in check_unmodifiableNavigableMap_defaultMethods() local
880 assertNull(ceiling); in check_unmodifiableNavigableMap_defaultMethods()
882 assertFalse(Objects.equals(floor, ceiling)); in check_unmodifiableNavigableMap_defaultMethods()
883 assertTrue(floor != null || ceiling != null); in check_unmodifiableNavigableMap_defaultMethods()
884 assertEquals(ceiling, floor == null ? map.firstKey() : map.higherKey(floor)); in check_unmodifiableNavigableMap_defaultMethods()
885 assertEquals(floor, ceiling == null ? map.lastKey() : map.lowerKey(ceiling)); in check_unmodifiableNavigableMap_defaultMethods()
1107 assertEquals(element, set.ceiling(element)); in check_navigableSet()
1111 K ceiling = set.ceiling(absentElement); in check_navigableSet() local
1114 assertNull(ceiling); in check_navigableSet()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSubSetTest.java395 Object e1 = q.ceiling(three); in testCeiling()
398 Object e2 = q.ceiling(zero); in testCeiling()
401 Object e3 = q.ceiling(five); in testCeiling()
404 Object e4 = q.ceiling(six); in testCeiling()
874 Object e1 = q.ceiling(m3); in testDescendingCeiling()
877 Object e2 = q.ceiling(zero); in testDescendingCeiling()
880 Object e3 = q.ceiling(m5); in testDescendingCeiling()
883 Object e4 = q.ceiling(m6); in testDescendingCeiling()
DConcurrentSkipListSubSetTest.java398 Object e1 = q.ceiling(three); in testCeiling()
401 Object e2 = q.ceiling(zero); in testCeiling()
404 Object e3 = q.ceiling(five); in testCeiling()
407 Object e4 = q.ceiling(six); in testCeiling()
888 Object e1 = q.ceiling(m3); in testDescendingCeiling()
891 Object e2 = q.ceiling(zero); in testDescendingCeiling()
894 Object e3 = q.ceiling(m5); in testDescendingCeiling()
897 Object e4 = q.ceiling(m6); in testDescendingCeiling()
DTreeSetTest.java444 Object e1 = q.ceiling(three); in testCeiling()
447 Object e2 = q.ceiling(zero); in testCeiling()
450 Object e3 = q.ceiling(five); in testCeiling()
453 Object e4 = q.ceiling(six); in testCeiling()
874 int ceiling(int element) { in check() method in TreeSetTest.ReferenceSet
954 assertEq(set.ceiling(element), rs.ceiling(element)); in check()
DConcurrentSkipListSetTest.java440 Object e1 = q.ceiling(three); in testCeiling()
443 Object e2 = q.ceiling(zero); in testCeiling()
446 Object e3 = q.ceiling(five); in testCeiling()
449 Object e4 = q.ceiling(six); in testCeiling()
873 int ceiling(int element) { in check() method in ConcurrentSkipListSetTest.ReferenceSet
953 assertEq(set.ceiling(element), rs.ceiling(element)); in check()
DTreeMapTest.java979 int ceiling(int key) {
1057 assertEq(map.ceilingKey(key), rs.ceiling(key));
DConcurrentSkipListMapTest.java1174 int ceiling(int key) {
1252 assertEq(map.ceilingKey(key), rs.ceiling(key));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeMapExtendTest.java4893 descendingSet.ceiling(null);
4902 entry = (Entry) descendingSet.ceiling(entryArray[i]);
4911 Object x = descendingSet.ceiling(afterEnd);
4918 Object y = descendingSet.ceiling(beforeStart);
4927 descendingSet.ceiling(null);
4936 entry = (Entry) descendingSet.ceiling(entryArray[i]);
4946 descendingSet.ceiling(null);
4955 entry = (Entry) descendingSet.ceiling(entryArray[i]);
4964 descendingSet.ceiling(null);
4973 entry = (Entry) descendingSet.ceiling(entryArray[i]);
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListSet.java365 public E ceiling(E e) { in ceiling() method in ConcurrentSkipListSet
DConcurrentSkipListMap.java2370 public K ceiling(K e) { return m.ceilingKey(e); } in ceiling() method in ConcurrentSkipListMap.KeySet
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java1169 public E ceiling(E e) { in ceiling() method in Collections.CheckedNavigableSet
2662 public E ceiling(E e) { in ceiling() method in Collections.SynchronizedNavigableSet
3458 public E ceiling(E e) { in ceiling() method in Collections.UnmodifiableNavigableSet