Home
last modified time | relevance | path

Searched refs:NavigableMap (Results 1 – 23 of 23) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSubMapTest.java14 import java.util.NavigableMap;
36 private static NavigableMap map5() { in map5()
51 private static NavigableMap map0() { in map0()
60 private static NavigableMap dmap5() { in dmap5()
73 private static NavigableMap dmap0() { in dmap0()
83 NavigableMap map = map5(); in testClear()
92 NavigableMap map1 = map5(); in testEquals()
93 NavigableMap map2 = map5(); in testEquals()
105 NavigableMap map = map5(); in testContainsKey()
114 NavigableMap map = map5(); in testContainsValue()
[all …]
DTreeMapTest.java14 import java.util.NavigableMap;
617 NavigableMap x = map5();
618 NavigableMap y = serialClone(x);
632 NavigableMap sm = map.subMap(two, true, four, false);
670 NavigableMap sm = map.subMap(two, true, three, false);
705 NavigableMap sm = map.headMap(four, false);
731 NavigableMap sm = map.tailMap(two, true);
775 NavigableMap ssm = sm.tailMap(four, true);
793 NavigableMap<Integer, Integer> map = newMap(cl);
808 static NavigableMap<Integer, Integer> newMap(Class cl) throws Exception {
[all …]
DConcurrentSkipListMapTest.java15 import java.util.NavigableMap;
812 NavigableMap x = map5();
813 NavigableMap y = serialClone(x);
827 NavigableMap sm = map.subMap(two, true, four, false);
865 NavigableMap sm = map.subMap(two, true, three, false);
900 NavigableMap sm = map.headMap(four, false);
926 NavigableMap sm = map.tailMap(two, true);
970 NavigableMap ssm = sm.tailMap(four, true);
988 NavigableMap<Integer, Integer> map = newMap(cl);
1003 static NavigableMap<Integer, Integer> newMap(Class cl) throws Exception {
[all …]
DConcurrentSkipListSubMapTest.java14 import java.util.NavigableMap;
609 NavigableMap x = map5();
610 NavigableMap y = serialClone(x);
1283 NavigableMap x = dmap5();
1284 NavigableMap y = serialClone(x);
/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java97 public interface NavigableMap<K,V> extends SortedMap<K,V> { interface
265 NavigableMap<K,V> descendingMap(); in descendingMap()
333 NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, in subMap()
363 NavigableMap<K,V> headMap(K toKey, boolean inclusive); in headMap()
392 NavigableMap<K,V> tailMap(K fromKey, boolean inclusive); in tailMap()
DTreeMap.java114 implements NavigableMap<K,V>, Cloneable, java.io.Serializable
790 private transient NavigableMap<K,V> descendingMap;
896 public NavigableMap<K, V> descendingMap() { in descendingMap()
897 NavigableMap<K, V> km = descendingMap; in descendingMap()
912 public NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, in subMap()
927 public NavigableMap<K,V> headMap(K toKey, boolean inclusive) { in headMap()
941 public NavigableMap<K,V> tailMap(K fromKey, boolean inclusive) { in tailMap()
1119 private final NavigableMap<E, ?> m;
1120 KeySet(NavigableMap<E,?> map) { m = map; } in KeySet()
1345 implements NavigableMap<K,V>, java.io.Serializable {
[all …]
DCollections.java1880 public static <K,V> NavigableMap<K,V> unmodifiableNavigableMap(NavigableMap<K, ? extends V> m) {
1889 implements NavigableMap<K,V>, Serializable {
1922 private final NavigableMap<K, ? extends V> nm;
1924 UnmodifiableNavigableMap(NavigableMap<K, ? extends V> m)
1985 public NavigableMap<K, V> descendingMap()
1992 … public NavigableMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
1997 public NavigableMap<K, V> headMap(K toKey, boolean inclusive)
1999 public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive)
2889 public static <K,V> NavigableMap<K,V> synchronizedNavigableMap(NavigableMap<K,V> m) {
2900 implements NavigableMap<K,V>
[all …]
DTreeSet.java98 private transient NavigableMap<E,Object> m;
106 TreeSet(NavigableMap<E,Object> m) { in TreeSet()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRulesProvider.java73 import java.util.NavigableMap;
140 NavigableMap<String, ZoneRules> versions = ZoneRulesProvider.getVersions("Europe/London"); in test_getVersions_String()
145 NavigableMap<String, ZoneRules> copy = new TreeMap<>(versions); in test_getVersions_String()
148 NavigableMap<String, ZoneRules> versions2 = ZoneRulesProvider.getVersions("Europe/London"); in test_getVersions_String()
191 protected NavigableMap<String, ZoneRules> provideVersions(String zoneId) { in provideVersions()
192 NavigableMap<String, ZoneRules> result = new TreeMap<>(); in provideVersions()
214 protected NavigableMap<String, ZoneRules> provideVersions(String zoneId) { in provideVersions()
215 NavigableMap<String, ZoneRules> result = new TreeMap<>(); in provideVersions()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DNavigableMap.annotated.java41 public interface NavigableMap<K, V> extends java.util.SortedMap<K,V> { interface
67 @libcore.util.NonNull public java.util.NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.uti… in descendingMap()
73 @libcore.util.NonNull public java.util.NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.uti… in subMap()
75 @libcore.util.NonNull public java.util.NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.uti… in headMap()
77 @libcore.util.NonNull public java.util.NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.uti… in tailMap()
DTreeMap.annotated.java32 public class TreeMap<K, V> extends java.util.AbstractMap<K,V> implements java.util.NavigableMap<K,V…
100 @libcore.util.NonNull public java.util.NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.uti… in descendingMap()
102 @libcore.util.NonNull public java.util.NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.uti… in subMap()
104 @libcore.util.NonNull public java.util.NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.uti… in headMap()
106 @libcore.util.NonNull public java.util.NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.uti… in tailMap()
DCollections.annotated.java88NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> unmodifiableNav… in unmodifiableNavigableMap()
104NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> synchronizedNav… in synchronizedNavigableMap()
122 …il.NavigableMap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> checkedNavig… in checkedNavigableMap()
142 @libcore.util.NonNull public static final <K, V> java.util.NavigableMap<@libcore.util.NullFromTypeP… in emptyNavigableMap()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRulesProvider.java72 import java.util.NavigableMap;
210 public static NavigableMap<String, ZoneRules> getVersions(String zoneId) { in getVersions()
376 protected abstract NavigableMap<String, ZoneRules> provideVersions(String zoneId); in provideVersions()
DIcuZoneRulesProvider.java39 import java.util.NavigableMap;
77 protected NavigableMap<String, ZoneRules> provideVersions(String zoneId) { in provideVersions()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentNavigableMap.java38 import java.util.NavigableMap;
55 extends ConcurrentMap<K,V>, NavigableMap<K,V>
DConcurrentSkipListSet.java44 import java.util.NavigableMap;
DConcurrentSkipListMap.java49 import java.util.NavigableMap;
/libcore/luni/src/test/java/libcore/java/util/
DCollectionsTest.java36 import java.util.NavigableMap;
293 NavigableMap<String, Integer> map = checkedNavigableMap( in test_checkedNavigableMap_replaceAll()
303 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_putIfAbsent()
310 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_remove()
317 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_replace$K$V()
324 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_replace$K$V$V()
331 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_computeIfAbsent()
338 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_computeIfPresent()
344 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_compute()
350 NavigableMap<Integer, Double> map = in test_checkedNavigableMap_merge()
[all …]
DTreeMapTest.java32 import java.util.NavigableMap;
75 NavigableMap<String, String> subMap = map.subMap("A", true, "C", true); in testSubMapEntrySetSetValue()
124 private void assertAllEntryMethodsReturnImmutableEntries(NavigableMap<String, String> map) { in assertAllEntryMethodsReturnImmutableEntries()
189 NavigableMap<String,String> copy = new TreeMap<String, String>(source); in testMapConstructorPassingSortedMap()
322 new SerializationTester<NavigableMap<String, String>>(map, s) { in testSerializationWithComparator()
323 @Override protected void verify(NavigableMap<String, String> deserialized) { in testSerializationWithComparator()
416 NavigableMap<String, String> descendingMap = map.descendingMap(); in testDescendingMapSerialization()
417 new SerializationTester<NavigableMap<String, String>>(descendingMap, s) { in testDescendingMapSerialization()
418 @Override protected void verify(NavigableMap<String, String> deserialized) { in testDescendingMapSerialization()
583 NavigableMap<Integer, Void> m = applyBound(mapBound, new TreeMap<>()); in isWithinBounds()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java184 public static <K, V> java.util.NavigableMap<K, V> unmodifiableNavigableMap( in unmodifiableNavigableMap()
185 java.util.NavigableMap<K, ? extends V> m) { in unmodifiableNavigableMap()
232 public static <K, V> java.util.NavigableMap<K, V> synchronizedNavigableMap( in synchronizedNavigableMap()
233 java.util.NavigableMap<K, V> m) { in synchronizedNavigableMap()
280 public static <K, V> java.util.NavigableMap<K, V> checkedNavigableMap( in checkedNavigableMap()
281 java.util.NavigableMap<K, V> m, in checkedNavigableMap()
323 public static final <K, V> java.util.NavigableMap<K, V> emptyNavigableMap() { in emptyNavigableMap()
1032 implements java.util.NavigableMap<K, V>, java.io.Serializable {
1035 java.util.NavigableMap<K, V> m, in CheckedNavigableMap()
1102 public java.util.NavigableMap<K, V> descendingMap() { in descendingMap()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeMapExtendTest.java28 import java.util.NavigableMap;
57 NavigableMap navigableMap_startExcluded_endExcluded;
59 NavigableMap navigableMap_startExcluded_endIncluded;
61 NavigableMap navigableMap_startIncluded_endExcluded;
63 NavigableMap navigableMap_startIncluded_endIncluded;
1607 NavigableMap descendingMap = navigableMap_startExcluded_endExcluded in test_AscendingSubMap_descendingMap()
1861 NavigableMap decendingMap = tm.descendingMap(); in test_DescendingSubMap_ceilingEntry()
1914 decendingMap = ((NavigableMap) subMap_startExcluded_endExcluded_comparator) in test_DescendingSubMap_ceilingEntry()
1925 decendingMap = ((NavigableMap) subMap_startExcluded_endIncluded_comparator) in test_DescendingSubMap_ceilingEntry()
1936 decendingMap = ((NavigableMap) subMap_startIncluded_endExcluded_comparator) in test_DescendingSubMap_ceilingEntry()
[all …]
DTreeMapTest.java37 import java.util.NavigableMap;
1411 NavigableMap<Integer, Object> mapIntObj = new TreeMap<Integer, Object>(); in test_subMapLjava_lang_ObjectZLjava_lang_ObjectZ()
1590 NavigableMap<Integer, Object> original = new TreeMap<Integer, Object>(); in test_headMapLjava_lang_ObjectZL()
1594 NavigableMap<Integer, Object> mapIntObj = original.headMap(5, false); in test_headMapLjava_lang_ObjectZL()
1710 NavigableMap<Integer, Object> original = new TreeMap<Integer, Object>(); in test_tailMapLjava_lang_ObjectZL()
1714 NavigableMap<Integer, Object> mapIntObj = original.tailMap(5, false); in test_tailMapLjava_lang_ObjectZL()
1732 NavigableMap<Integer, Object> descMap = tm.descendingMap(); in test_descendingMap_subMap()
1738 NavigableMap<Integer, Object> mapIntObj = new TreeMap<Integer, Object>(); in test_descendingMap_subMap()
1743 NavigableMap<Integer, Object> subMapIntObj = mapIntObj.subMap(9, true, in test_descendingMap_subMap()
1772 private void illegalFirstNullKeyMapTester(NavigableMap<String, String> map) { in illegalFirstNullKeyMapTester()
/libcore/
Dopenjdk_java_files.bp1131 "ojluni/src/main/java/java/util/NavigableMap.java",