Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DSortedMap.java113 public interface SortedMap<K,V> extends Map<K,V> { interface
154 SortedMap<K,V> subMap(K fromKey, K toKey); in subMap()
181 SortedMap<K,V> headMap(K toKey); in headMap()
208 SortedMap<K,V> tailMap(K fromKey); in tailMap()
DNavigableMap.java97 public interface NavigableMap<K,V> extends SortedMap<K,V> {
403 SortedMap<K,V> subMap(K fromKey, K toKey); in subMap()
414 SortedMap<K,V> headMap(K toKey); in headMap()
425 SortedMap<K,V> tailMap(K fromKey); in tailMap()
DCollections.java1828 public static <K,V> SortedMap<K,V> unmodifiableSortedMap(SortedMap<K, ? extends V> m) {
1837 implements SortedMap<K,V>, Serializable {
1840 private final SortedMap<K, ? extends V> sm;
1842 UnmodifiableSortedMap(SortedMap<K, ? extends V> m) {super(m); sm = m; }
1844 public SortedMap<K,V> subMap(K fromKey, K toKey)
1846 public SortedMap<K,V> headMap(K toKey)
1848 public SortedMap<K,V> tailMap(K fromKey)
2783 public static <K,V> SortedMap<K,V> synchronizedSortedMap(SortedMap<K,V> m) {
2792 implements SortedMap<K,V>
2796 private final SortedMap<K,V> sm;
[all …]
DTreeMap.java198 public TreeMap(SortedMap<K, ? extends V> m) { in TreeMap()
315 if (size==0 && mapSize!=0 && map instanceof SortedMap) { in putAll()
316 Comparator<?> c = ((SortedMap<?,?>)map).comparator(); in putAll()
980 public SortedMap<K,V> subMap(K fromKey, K toKey) { in subMap()
991 public SortedMap<K,V> headMap(K toKey) { in headMap()
1002 public SortedMap<K,V> tailMap(K fromKey) { in tailMap()
1643 public final SortedMap<K,V> subMap(K fromKey, K toKey) { in subMap()
1647 public final SortedMap<K,V> headMap(K toKey) { in headMap()
1651 public final SortedMap<K,V> tailMap(K fromKey) { in tailMap()
2072 implements SortedMap<K,V>, java.io.Serializable {
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DRefSortedMap.java34 import java.util.SortedMap;
37 implements SortedMap<K, V>, Cloneable, Serializable {
91 implements SortedMap<K, V>, Cloneable {
188 public SortedMap<K, V> headMap(K key) {
211 public SortedMap<K, V> subMap(K startKey, K endKey) {
221 public SortedMap<K, V> tailMap(K key) {
261 public RefSortedMap(SortedMap<K, ? extends V> map) {
278 public SortedMap<K, V> headMap(K key) {
290 public SortedMap<K, V> subMap(K startKey, K endKey) {
294 public SortedMap<K, V> tailMap(K key) {
DSortedMapTestBase.java33 import java.util.SortedMap;
43 SortedMap<Integer, Integer> map;
44 SortedMap<Integer, Integer> ref;
291 private void checkSubMap(SortedMap<Integer, Integer> ref, in checkSubMap()
292 SortedMap<Integer, Integer> map) { in checkSubMap()
324 private void testViews(SortedMap<Integer, Integer> ref, SortedMap<Integer, Integer> map) { in testViews()
363SortedMap<Integer, Integer> map2 = (SortedMap<Integer, Integer>) mapClone.invoke(map, new Object[0… in testClone()
DTreeMapTest.java41 import java.util.SortedMap;
309 SortedMap<Integer, Double> smap = map.headMap(null); in test_headMapLjava_lang_Object()
349 SortedMap<String, String> headMap = treemap.headMap("100"); in test_headMapLjava_lang_Object()
352 SortedMap<Integer, Integer> intMap, sub; in test_headMapLjava_lang_Object()
369 SortedMap th = t.headMap(null); in test_headMapLjava_lang_Object()
438 SortedMap<String, String> sm = tm; in test_lastKey_after_subMap()
524 SortedMap subMap = tm.subMap(objArray[100].toString(), objArray[109] in test_subMapLjava_lang_ObjectLjava_lang_Object()
544 SortedMap<String, String> subMapWithNull = treeMapWithNull.subMap(null, in test_subMapLjava_lang_ObjectLjava_lang_Object()
549 SortedMap<String, String> map = new TreeMap<String, String>(); in test_subMapLjava_lang_ObjectLjava_lang_Object()
554 SortedMap<String, String> sub = map.subMap("1", "3"); //$NON-NLS-1$ //$NON-NLS-2$ in test_subMapLjava_lang_ObjectLjava_lang_Object()
[all …]
DCollections2Test.java40 import java.util.SortedMap;
446 assertFalse(c instanceof SortedMap); in test_checkedMapSerializationCompatability()
458 SortedMap<String, String> c = new TreeMap<String, String>(); in test_checkedSortedMapSerializationCompatability()
DTreeMapExtendTest.java32 import java.util.SortedMap;
43 SortedMap subMap_default;
45 SortedMap subMap_startExcluded_endExcluded;
47 SortedMap subMap_startExcluded_endIncluded;
49 SortedMap subMap_startIncluded_endExcluded;
51 SortedMap subMap_startIncluded_endIncluded;
53 SortedMap subMap_default_beforeStart_100;
55 SortedMap subMap_default_afterEnd_109;
65 SortedMap subMap_default_comparator;
67 SortedMap subMap_startExcluded_endExcluded_comparator;
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DOldTreeMapTest.java29 import java.util.SortedMap;
148 new TreeMap((SortedMap)null); in test_ConstructorLjava_util_SortedMap()
218 SortedMap sort = tm.headMap("100"); in test_headMapLjava_lang_Object()
249 SortedMap<Integer, Double> smap = map.headMap(null); in test_headMapLjava_lang_Object()
396 SortedMap subMap = tm.subMap(objArray[100].toString(), objArray[109] in test_subMapLjava_lang_ObjectLjava_lang_Object()
416 SortedMap<String, String> subMapWithNull = treeMapWithNull.subMap(null, in test_subMapLjava_lang_ObjectLjava_lang_Object()
421 SortedMap<String, String> map = new TreeMap<String, String>(); in test_subMapLjava_lang_ObjectLjava_lang_Object()
426 SortedMap<String, String> sub = map.subMap("1", "3"); in test_subMapLjava_lang_ObjectLjava_lang_Object()
462 SortedMap sort = tm.tailMap("99"); in test_tailMapLjava_lang_Object()
DTreeMapTest.java34 import java.util.SortedMap;
350 SortedMap<String, String> subMap = map.subMap("a", "c"); in testSubMapSerialization()
351 new SerializationTester<SortedMap<String, String>>(subMap, s) { in testSubMapSerialization()
352 @Override protected void verify(SortedMap<String, String> deserialized) { in testSubMapSerialization()
383 SortedMap<String, String> subMap = map.subMap("a", false, "c", true); in testNavigableSubMapSerialization()
384 new SerializationTester<SortedMap<String, String>>(subMap, s) { in testNavigableSubMapSerialization()
385 @Override protected void verify(SortedMap<String, String> deserialized) { in testNavigableSubMapSerialization()
461 SortedMap<String, String> subMap = map.subMap("a", "c"); in testJava5SubMapSerialization()
462 new SerializationTester<SortedMap<String, String>>(subMap, s) { in testJava5SubMapSerialization()
463 @Override protected void verify(SortedMap<String, String> deserialized) { in testJava5SubMapSerialization()
DOldCollectionsTest.java34 import java.util.SortedMap;
741 && (a instanceof SortedMap == b instanceof SortedMap); in assertSerialized()
817 SortedMap sm = Collections.checkedSortedMap(tm, Integer.class, String.class); in test_checkedSortedMapLjava_util_SortedMapLjava_lang_ClassLjava_lang_Class()
DCollectionsTest.java41 import java.util.SortedMap;
1437 SortedMap<String, Integer> map = Collections.emptySortedMap(); in test_emptySortedMap()
/libcore/ojluni/src/main/java/java/util/jar/
DPack200.java27 import java.util.SortedMap;
547 SortedMap<String,String> properties(); in properties()
706 SortedMap<String,String> properties(); in properties()
/libcore/ojluni/src/main/java/sun/util/locale/
DLocaleExtensions.java38 import java.util.SortedMap;
84 SortedMap<Character, Extension> map = new TreeMap<>(); in LocaleExtensions()
104 SortedMap<String, String> ukmap = null; in LocaleExtensions()
194 private static String toID(SortedMap<Character, Extension> map) { in toID()
DUnicodeLocaleExtension.java39 import java.util.SortedMap;
59 UnicodeLocaleExtension(SortedSet<String> attributes, SortedMap<String, String> keywords) { in UnicodeLocaleExtension()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java48 import java.util.SortedMap;
624 public static SortedMap<String,Charset> availableCharsets() {
626 new PrivilegedAction<SortedMap<String,Charset>>() {
627 public SortedMap<String,Charset> run() {
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSubMapTest.java16 import java.util.SortedMap;
459 SortedMap sm = map.subMap(two, four);
490 SortedMap sm = map.subMap(two, three);
520 SortedMap sm = map.headMap(four);
546 SortedMap sm = map.tailMap(two);
580 SortedMap ssm = sm.tailMap(four);
986 SortedMap sm = map.subMap(m2, m4);
1017 SortedMap sm = map.subMap(m2, m3);
1047 SortedMap sm = map.headMap(m4);
1073 SortedMap sm = map.tailMap(m2);
[all …]
DConcurrentSkipListSubMapTest.java16 import java.util.SortedMap;
624 SortedMap sm = map.subMap(two, four);
655 SortedMap sm = map.subMap(two, three);
685 SortedMap sm = map.headMap(four);
711 SortedMap sm = map.tailMap(two);
745 SortedMap ssm = sm.tailMap(four);
1298 SortedMap sm = map.subMap(m2, m4);
1329 SortedMap sm = map.subMap(m2, m3);
1359 SortedMap sm = map.headMap(m4);
1385 SortedMap sm = map.tailMap(m2);
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringTest.java24 import java.util.SortedMap;
691 SortedMap<String, Charset> charsets = Charset.availableCharsets(); in test_getBytesLCharset()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest.java54 import java.util.SortedMap;
120 static final SortedMap<String, String> TREE = new TreeMap<String, String>();
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListMap.java53 import java.util.SortedMap;
1322 public ConcurrentSkipListMap(SortedMap<K, ? extends V> m) { in ConcurrentSkipListMap()
1352 private void buildFromSorted(SortedMap<K, ? extends V> map) { in buildFromSorted()
/libcore/
Dopenjdk_java_files.mk1161 ojluni/src/main/java/java/util/SortedMap.java \