Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/java/util/
DSortedMap.java113 public interface SortedMap<K,V> extends SequencedMap<K,V>, 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()
331 default SortedMap<K, V> reversed() { in reversed()
DReverseOrderSortedMapView.java33 class ReverseOrderSortedMapView<K, V> extends AbstractMap<K, V> implements SortedMap<K, V> {
34 final SortedMap<K, V> base;
37 private ReverseOrderSortedMapView(SortedMap<K, V> map) { in ReverseOrderSortedMapView()
42 public static <K, V> SortedMap<K, V> of(SortedMap<K, V> map) { in of()
133 public SortedMap<K, V> reversed() {
175 public SortedMap<K, V> subMap(K fromKey, K toKey) {
183 public SortedMap<K, V> headMap(K toKey) {
187 public SortedMap<K, V> tailMap(K fromKey) {
193 static <K, V> Iterator<K> descendingKeyIterator(SortedMap<K, V> map) {
195 SortedMap<K, V> root = map;
[all …]
DNavigableMap.java103 public interface NavigableMap<K,V> extends SortedMap<K,V> {
409 SortedMap<K,V> subMap(K fromKey, K toKey); in subMap()
420 SortedMap<K,V> headMap(K toKey); in headMap()
431 SortedMap<K,V> tailMap(K fromKey); in tailMap()
/libcore/ojluni/annotations/flagged_api/java/util/
DSortedMap.annotated.java30 public interface SortedMap<K, V> extends java.util.SequencedMap<K,V>, java.util.Map<K,V> { interface
34 public java.util.SortedMap<K,V> subMap(K fromKey, K toKey); in subMap()
36 public java.util.SortedMap<K,V> headMap(K toKey); in headMap()
38 public java.util.SortedMap<K,V> tailMap(K fromKey); in tailMap()
55 public default java.util.SortedMap<K,V> reversed() { throw new RuntimeException("Stub!"); } in reversed()
DNavigableMap.annotated.java40 public interface NavigableMap<K, V> extends java.util.SortedMap<K,V> {
78 public java.util.SortedMap<K,V> subMap(K fromKey, K toKey); in subMap()
80 public java.util.SortedMap<K,V> headMap(K toKey); in headMap()
82 public java.util.SortedMap<K,V> tailMap(K fromKey); in tailMap()
DTreeMap.annotated.java39 public TreeMap(java.util.SortedMap<K,? extends V> m) { throw new RuntimeException("Stub!"); } in TreeMap()
123 public java.util.SortedMap<K,V> subMap(K fromKey, K toKey) { throw new RuntimeException("Stub!"); } in subMap()
125 public java.util.SortedMap<K,V> headMap(K toKey) { throw new RuntimeException("Stub!"); } in headMap()
127 public java.util.SortedMap<K,V> tailMap(K fromKey) { throw new RuntimeException("Stub!"); } in tailMap()
DCollections.annotated.java95 public static <K, V> java.util.SortedMap<K,V> unmodifiableSortedMap(java.util.SortedMap<K,? extends… in unmodifiableSortedMap()
111 public static <K, V> java.util.SortedMap<K,V> synchronizedSortedMap(java.util.SortedMap<K,V> m) { t… in synchronizedSortedMap()
129 public static <K, V> java.util.SortedMap<K,V> checkedSortedMap(java.util.SortedMap<K,V> m, java.lan… in checkedSortedMap()
149 public static final <K, V> java.util.SortedMap<K,V> emptySortedMap() { throw new RuntimeException("… in emptySortedMap()
/libcore/ojluni/src/test/java/util/SequencedCollection/
DSimpleSortedMap.java32 public class SimpleSortedMap<K,V> implements SortedMap<K,V> {
33 final SortedMap<K,V> map;
121 public SortedMap<K,V> headMap(K toKey) { in headMap()
129 public SortedMap<K,V> subMap(K fromKey, K toKey) { in subMap()
133 public SortedMap<K,V> tailMap(K fromKey) { in tailMap()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DSortedMap.annotated.java31 public interface SortedMap<K, V> extends java.util.Map<K,V> { interface
35 @libcore.util.NonNull public java.util.SortedMap<@libcore.util.NullFromTypeParam K, @libcore.util.N… in subMap()
37 @libcore.util.NonNull public java.util.SortedMap<@libcore.util.NullFromTypeParam K, @libcore.util.N… in headMap()
39 @libcore.util.NonNull public java.util.SortedMap<@libcore.util.NullFromTypeParam K, @libcore.util.N… in tailMap()
55 @libcore.util.NonNull public default java.util.SortedMap<K,V> reversed() { throw new RuntimeExcepti… in reversed()
DNavigableMap.annotated.java41 public interface NavigableMap<K, V> extends java.util.SortedMap<K,V> {
79 @libcore.util.NonNull public java.util.SortedMap<@libcore.util.NullFromTypeParam K, @libcore.util.N… in subMap()
81 @libcore.util.NonNull public java.util.SortedMap<@libcore.util.NullFromTypeParam K, @libcore.util.N… in headMap()
83 @libcore.util.NonNull public java.util.SortedMap<@libcore.util.NullFromTypeParam K, @libcore.util.N… in tailMap()
DTreeMap.annotated.java40 public TreeMap(@libcore.util.NonNull java.util.SortedMap<@libcore.util.NullFromTypeParam K,? extend… in TreeMap()
108 @libcore.util.NonNull public java.util.SortedMap<@libcore.util.NullFromTypeParam K, @libcore.util.N… in subMap()
110 @libcore.util.NonNull public java.util.SortedMap<@libcore.util.NullFromTypeParam K, @libcore.util.N… in headMap()
112 @libcore.util.NonNull public java.util.SortedMap<@libcore.util.NullFromTypeParam K, @libcore.util.N… in tailMap()
/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 …]
/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()
/libcore/ojluni/src/test/java/util/Collections/
DWrappedNull.java39 import java.util.SortedMap;
108 SortedMap c = Collections.unmodifiableSortedMap(null); in main()
168 SortedMap c = Collections.synchronizedSortedMap(null); in main()
184 SortedMap sm = Collections.unmodifiableSortedMap(new TreeMap()); in main()
DEmptyNavigableMap.java45 import java.util.SortedMap;
96 public static final boolean isDescending(SortedMap<?,?> set) { in isDescending() argument
210 SortedMap ss = navigableMap.subMap(null, BigInteger.TEN); in testSubMap()
216 SortedMap ss = navigableMap.subMap(BigInteger.ZERO, null); in testSubMap()
222 SortedMap ss = navigableMap.subMap(null, null); in testSubMap()
231 SortedMap ss = navigableMap.subMap(obj1, BigInteger.TEN); in testSubMap()
237 SortedMap ss = navigableMap.subMap(BigInteger.ZERO, obj2); in testSubMap()
243 SortedMap ss = navigableMap.subMap(obj1, obj2); in testSubMap()
DViewSynch.java37 import java.util.SortedMap;
44 static SortedMap m = Collections.synchronizedSortedMap(new TreeMap());
/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;
60 UnicodeLocaleExtension(SortedSet<String> attributes, SortedMap<String, String> keywords) { in UnicodeLocaleExtension()
/libcore/ojluni/src/test/java/util/PriorityQueue/
DAddNonComparable.java36 import java.util.SortedMap;
135 static <K> void test(SortedMap<K,Boolean> map, Supplier<K> supplier, in test()
136 BiConsumer<? super SortedMap<K,Boolean>, Throwable> checker) { in test()
/libcore/ojluni/src/test/java/util/Map/
DGet.java37 import java.util.SortedMap;
81 m instanceof SortedMap)); in testMap()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java179 public static <K, V> java.util.SortedMap<K, V> unmodifiableSortedMap( in unmodifiableSortedMap()
180 java.util.SortedMap<K, ? extends V> m) { in unmodifiableSortedMap()
227 public static <K, V> java.util.SortedMap<K, V> synchronizedSortedMap( in synchronizedSortedMap()
228 java.util.SortedMap<K, V> m) { in synchronizedSortedMap()
275 public static <K, V> java.util.SortedMap<K, V> checkedSortedMap( in checkedSortedMap()
276 java.util.SortedMap<K, V> m, java.lang.Class<K> keyType, java.lang.Class<V> valueType) { in checkedSortedMap()
319 public static final <K, V> java.util.SortedMap<K, V> emptySortedMap() { in emptySortedMap()
1311 implements java.util.SortedMap<K, V>, java.io.Serializable {
1314 java.util.SortedMap<K, V> m, in CheckedSortedMap()
1333 public java.util.SortedMap<K, V> subMap(K fromKey, K toKey) { in subMap()
[all …]

12