Home
last modified time | relevance | path

Searched refs:subMap (Results 1 – 22 of 22) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeMapTest.java429 assertEquals(objArray[objArray.length - 2].toString(), tm.subMap("99", in test_lastKey()
447 sm = sm.subMap(firstKey, lastKey); in test_lastKey_after_subMap()
506 assertEquals("Returned incorrect size", 111, tm.subMap("500", "600") in test_size()
509 tm.subMap("null", "600"); in test_size()
514 assertEquals("Returned incorrect size", 1000, tm.subMap("", "null") in test_size()
524 SortedMap subMap = tm.subMap(objArray[100].toString(), objArray[109] in test_subMapLjava_lang_ObjectLjava_lang_Object() local
526 assertEquals("subMap is of incorrect size", 9, subMap.size()); in test_subMapLjava_lang_ObjectLjava_lang_Object()
528 assertTrue("SubMap contains incorrect elements", subMap.get( in test_subMapLjava_lang_ObjectLjava_lang_Object()
533 tm.subMap(objArray[9].toString(), objArray[1].toString()); in test_subMapLjava_lang_ObjectLjava_lang_Object()
544 SortedMap<String, String> subMapWithNull = treeMapWithNull.subMap(null, in test_subMapLjava_lang_ObjectLjava_lang_Object()
[all …]
DTreeMapExtendTest.java317 SortedMap subMap = tm_null.subMap("0", "2"); in test_SubMap_containsValue() local
318 assertTrue(subMap.containsValue(null)); in test_SubMap_containsValue()
320 subMap.remove("1"); in test_SubMap_containsValue()
321 assertFalse(subMap.containsValue(null)); in test_SubMap_containsValue()
356 subMap_default.subMap(firstKey1, firstKey1).firstKey(); in test_SubMap_firstKey()
363 subMap_startExcluded_endExcluded.subMap(firstKey2, firstKey2) in test_SubMap_firstKey()
371 subMap_startExcluded_endIncluded.subMap(firstKey2, firstKey2) in test_SubMap_firstKey()
379 subMap_startIncluded_endExcluded.subMap(firstKey1, firstKey1) in test_SubMap_firstKey()
387 subMap_startIncluded_endIncluded.subMap(firstKey1, firstKey1) in test_SubMap_firstKey()
406 subMap_default_comparator.subMap(firstKey1, firstKey1).firstKey(); in test_SubMap_firstKey()
[all …]
DSortedMapTestBase.java215 checkSubMap(ref.subMap(key0, key1), map.subMap(key0, key1)); in testSubMap()
220 map.subMap(0, 100); in testSubMap()
222 map.subMap(100, 0); in testSubMap()
DRefSortedMap.java211 public SortedMap<K, V> subMap(K startKey, K endKey) {
290 public SortedMap<K, V> subMap(K startKey, K endKey) {
/libcore/luni/src/test/java/libcore/java/util/
DTreeMapTest.java75 NavigableMap<String, String> subMap = map.subMap("A", true, "C", true); in testSubMapEntrySetSetValue() local
77 Iterator<Entry<String, String>> iterator = subMap.entrySet().iterator(); in testSubMapEntrySetSetValue()
81 assertEquals("x", subMap.get("A")); in testSubMapEntrySetSetValue()
88 assertEquals("y", subMap.get("B")); in testSubMapEntrySetSetValue()
91 assertEquals("z", subMap.get("C")); in testSubMapEntrySetSetValue()
117 assertAllEntryMethodsReturnImmutableEntries(map.subMap("A", true, "C", true)); in testExceptionsOnSubMapSetValue()
216 map.subMap("a", "z").put(null, "b"); in testNullsWithNaturalOrder()
270 Map<Object, Object> map = new TreeMap<Object, Object>().subMap("a", "z"); in testClassCastExceptionsOnBounds()
350 SortedMap<String, String> subMap = map.subMap("a", "c"); in testSubMapSerialization() local
351 new SerializationTester<SortedMap<String, String>>(subMap, s) { in testSubMapSerialization() argument
[all …]
DOldTreeMapTest.java396 SortedMap subMap = tm.subMap(objArray[100].toString(), objArray[109] in test_subMapLjava_lang_ObjectLjava_lang_Object() local
398 assertEquals("subMap is of incorrect size", 9, subMap.size()); in test_subMapLjava_lang_ObjectLjava_lang_Object()
400 assertTrue("SubMap contains incorrect elements", subMap.get( in test_subMapLjava_lang_ObjectLjava_lang_Object()
405 tm.subMap(objArray[9].toString(), objArray[1].toString()); in test_subMapLjava_lang_ObjectLjava_lang_Object()
416 SortedMap<String, String> subMapWithNull = treeMapWithNull.subMap(null, in test_subMapLjava_lang_ObjectLjava_lang_Object()
426 SortedMap<String, String> sub = map.subMap("1", "3"); in test_subMapLjava_lang_ObjectLjava_lang_Object()
430 tm.subMap(this, this); in test_subMapLjava_lang_ObjectLjava_lang_Object()
437 tm.subMap(objArray[9].toString(), null); in test_subMapLjava_lang_ObjectLjava_lang_Object()
444 tm.subMap(null, objArray[9].toString()); in test_subMapLjava_lang_ObjectLjava_lang_Object()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentNavigableMap.java62 ConcurrentNavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, in subMap() method
84 ConcurrentNavigableMap<K,V> subMap(K fromKey, K toKey); in subMap() method
DConcurrentSkipListSet.java419 (m.subMap(fromElement, fromInclusive, in subSet()
DConcurrentSkipListMap.java2050 public ConcurrentNavigableMap<K,V> subMap(K fromKey, in subMap() method in ConcurrentSkipListMap
2091 public ConcurrentNavigableMap<K,V> subMap(K fromKey, K toKey) { in subMap() method in ConcurrentSkipListMap
2092 return subMap(fromKey, true, toKey, false); in subMap()
2411 return new KeySet<>(m.subMap(fromElement, fromInclusive, in subSet()
2955 public SubMap<K,V> subMap(K fromKey, boolean fromInclusive, in subMap() method in ConcurrentSkipListMap.SubMap
2974 public SubMap<K,V> subMap(K fromKey, K toKey) { in subMap() method in ConcurrentSkipListMap.SubMap
2975 return subMap(fromKey, true, toKey, false); in subMap()
/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java333 NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, in subMap() method
403 SortedMap<K,V> subMap(K fromKey, K toKey); in subMap() method
DSortedMap.java154 SortedMap<K,V> subMap(K fromKey, K toKey); in subMap() method
DTreeSet.java325 return new TreeSet<>(m.subMap(fromElement, fromInclusive, in subSet()
DCollections.java1851 public SortedMap<K,V> subMap(K fromKey, K toKey)
1852 { return new UnmodifiableSortedMap<>(sm.subMap(fromKey, toKey)); }
1992 … public NavigableMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
1994 nm.subMap(fromKey, fromInclusive, toKey, toInclusive));
2818 public SortedMap<K,V> subMap(K fromKey, K toKey) {
2821 sm.subMap(fromKey, toKey), mutex);
2964 public SortedMap<K,V> subMap(K fromKey, K toKey) {
2967 nm.subMap(fromKey, true, toKey, false), mutex);
2981 … public NavigableMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
2984 nm.subMap(fromKey, fromInclusive, toKey, toInclusive), mutex);
[all …]
DTreeMap.java912 public NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, in subMap() method in TreeMap
954 public SortedMap<K,V> subMap(K fromKey, K toKey) { in subMap() method in TreeMap
955 return subMap(fromKey, true, toKey, false); in subMap()
1162 return new KeySet<>(m.subMap(fromElement, fromInclusive, in subSet()
1617 public final SortedMap<K,V> subMap(K fromKey, K toKey) { in subMap() method in TreeMap.NavigableSubMap
1618 return subMap(fromKey, true, toKey, false); in subMap()
1868 public NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, in subMap() method in TreeMap.AscendingSubMap
1961 public NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive, in subMap() method in TreeMap.DescendingSubMap
2058 public SortedMap<K,V> subMap(K fromKey, K toKey) { throw new InternalError(); } in subMap() method in TreeMap.SubMap
/libcore/ojluni/annotations/sdk/nullability/java/util/
DNavigableMap.annotated.java73 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> subMap(@libcore.util.Null… in subMap() method
79 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> subMap(@libcore.util.Null… in subMap() method
DSortedMap.annotated.java35 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> subMap(@libcore.util.Null… in subMap() method
DTreeMap.annotated.java102 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> subMap(@libcore.util.Null… in subMap() method in TreeMap
108 …ap<@libcore.util.NullFromTypeParam K, @libcore.util.NullFromTypeParam V> subMap(@libcore.util.Null… in subMap() method in TreeMap
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeMapTest.java632 NavigableMap sm = map.subMap(two, true, four, false);
670 NavigableMap sm = map.subMap(two, true, three, false);
804 bashSubMap(map.subMap(0, true, mapSize, false),
947 NavigableMap<Integer,Integer> sm = map.subMap(
956 NavigableMap<Integer,Integer> sm = map.subMap(
DTreeSubMapTest.java48 return map.subMap(one, true, seven, false); in map5()
459 SortedMap sm = map.subMap(two, four);
490 SortedMap sm = map.subMap(two, three);
986 SortedMap sm = map.subMap(m2, m4);
1017 SortedMap sm = map.subMap(m2, m3);
DConcurrentSkipListMapTest.java827 NavigableMap sm = map.subMap(two, true, four, false);
865 NavigableMap sm = map.subMap(two, true, three, false);
999 bashSubMap(map.subMap(0, true, mapSize, false),
1142 NavigableMap<Integer,Integer> sm = map.subMap(
1151 NavigableMap<Integer,Integer> sm = map.subMap(
DConcurrentSkipListSubMapTest.java49 return map.subMap(one, true, seven, false); in map5()
624 SortedMap sm = map.subMap(two, four);
655 SortedMap sm = map.subMap(two, three);
1298 SortedMap sm = map.subMap(m2, m4);
1329 SortedMap sm = map.subMap(m2, m3);
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java1118 public java.util.NavigableMap<K, V> subMap(K fromKey, K toKey) { in subMap() method in Collections.CheckedNavigableMap
1130 public java.util.NavigableMap<K, V> subMap( in subMap() method in Collections.CheckedNavigableMap
1333 public java.util.SortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() method in Collections.CheckedSortedMap
2606 public java.util.SortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() method in Collections.SynchronizedNavigableMap
2618 public java.util.NavigableMap<K, V> subMap( in subMap() method in Collections.SynchronizedNavigableMap
2788 public java.util.SortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() method in Collections.SynchronizedSortedMap
3390 public java.util.NavigableMap<K, V> subMap( in subMap() method in Collections.UnmodifiableNavigableMap
3581 public java.util.SortedMap<K, V> subMap(K fromKey, K toKey) { in subMap() method in Collections.UnmodifiableSortedMap