Searched defs:SubMap (Results 1 - 2 of 2) sorted by relevance

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DRefSortedMap.java90 class SubMap extends java.util.AbstractMap<K, V> class in class:RefSortedMap
96 SubMap(boolean hasFirst, K first, boolean hasLast, K last) { method in class:RefSortedMap.SubMap
114 int offset = SubMap.this.size() > 0 ?
115 bsearch(SubMap.this.firstKey()) - 1 :
153 int lastIdx = bsearch(SubMap.this.lastKey());
154 int firstIdx = bsearch(SubMap.this.firstKey());
192 return new SubMap(hasStart, start, true, key);
218 return new SubMap(true, startKey, true, endKey);
225 return new SubMap(true, key, hasEnd, end);
279 return new SubMap(fals
[all...]
H A DHashMapTest.java188 SubMap map2 = new SubMap(map);
770 class SubMap<K, V> extends HashMap<K, V> { class in class:HashMapTest
771 public SubMap(Map<? extends K, ? extends V> m) { method in class:HashMapTest.SubMap

Completed in 110 milliseconds