HomeSort by relevance Sort by last modified time
    Searched defs:subMap (Results 1 - 25 of 43) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/
SortedMap.java 97 public SortedMap<K,V> subMap(K startKey, K endKey);
NavigableMap.java 30 * ones. Methods {@code subMap}, {@code headMap},
50 * {@link #subMap(Object, Object) subMap(K, K)},
273 * submap either of whose endpoints lie outside its range.
296 NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive,
360 * <p>Equivalent to {@code subMap(fromKey, true, toKey, false)}.
366 SortedMap<K,V> subMap(K fromKey, K toKey);
TreeMap.java 697 public NavigableMap<K, V> subMap(K from, boolean fromInclusive, K to, boolean toInclusive) {
703 public SortedMap<K, V> subMap(K fromInclusive, K toExclusive) {
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/
ConcurrentNavigableMap.java 31 ConcurrentNavigableMap<K,V> subMap(K fromKey, boolean fromInclusive,
53 ConcurrentNavigableMap<K,V> subMap(K fromKey, K toKey);
ConcurrentSkipListMap.java 652 * fence are null. Needed mainly in submap operations.
663 * or equal to fence. Needed mainly in submap operations.
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ForwardingSortedMap.java 85 public SortedMap<K, V> subMap(K fromKey, K toKey) {
86 return delegate().subMap(fromKey, toKey);
161 * A sensible default implementation of {@link #subMap(Object, Object)} in
163 * situations, you may wish to override {@link #subMap(Object, Object)} to
SortedMaps.java 364 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
366 sortedMap().subMap(fromKey, toKey), predicate);
StandardRowSortedTable.java 107 sortedBackingMap().subMap(fromElement, toElement), factory)
156 public SortedMap<R, Map<C, V>> subMap(R fromKey, R toKey) {
160 sortedBackingMap().subMap(fromKey, toKey), factory).rowMap();
TreeBasedTable.java 208 @Override public SortedMap<C, V> subMap(C fromKey, C toKey) {
AbstractMultimap.java 881 final Map<K, Collection<V>> subMap;
883 KeySet(final Map<K, Collection<V>> subMap) {
884 this.subMap = subMap;
889 return subMap;
895 = subMap.entrySet().iterator();
922 Collection<V> collection = subMap.remove(key);
937 return subMap.keySet().containsAll(c);
941 return this == object || this.subMap.keySet().equals(object);
945 return subMap.keySet().hashCode()
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingSortedMapTest.java 109 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
232 forward().subMap("first", "last");
233 assertEquals("[subMap(Object,Object)]", getCalls());
  /libcore/luni/src/test/java/libcore/java/util/
OldTreeMapTest.java 395 // java.util.TreeMap.subMap(java.lang.Object, java.lang.Object)
396 SortedMap subMap = tm.subMap(objArray[100].toString(), objArray[109]
398 assertEquals("subMap is of incorrect size", 9, subMap.size());
400 assertTrue("SubMap contains incorrect elements", subMap.get(
405 tm.subMap(objArray[9].toString(), objArray[1].toString());
416 SortedMap<String, String> subMapWithNull = treeMapWithNull.subMap(null,
418 assertEquals("Size of subMap should be 1:", 1, subMapWithNull.size())
    [all...]
TreeMapTest.java 67 NavigableMap<String, String> subMap = map.subMap("A", true, "C", true);
69 Iterator<Entry<String, String>> iterator = subMap.entrySet().iterator();
73 assertEquals("x", subMap.get("A"));
80 assertEquals("y", subMap.get("B"));
83 assertEquals("z", subMap.get("C"));
109 assertAllEntryMethodsReturnImmutableEntries(map.subMap("A", true, "C", true));
208 map.subMap("a", "z").put(null, "b");
235 Map<Object, Object> map = new TreeMap<Object, Object>().subMap("a", "z");
314 SortedMap<String, String> subMap = map.subMap("a", "c")
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
TreeMapExtendTest.java 190 assertTrue("SubMap contains incorrect elements", subMap_default
192 assertTrue("SubMap contains incorrect elements",
194 assertTrue("SubMap contains incorrect elements",
196 assertTrue("SubMap contains incorrect elements",
198 assertTrue("SubMap contains incorrect elements",
204 assertTrue("SubMap contains incorrect elements", subMap_default
206 assertFalse("SubMap contains incorrect elements",
208 assertFalse("SubMap contains incorrect elements",
210 assertTrue("SubMap contains incorrect elements",
212 assertTrue("SubMap contains incorrect elements"
    [all...]
TreeMapTest.java 369 assertTrue("submap should be empty",sub.isEmpty());
397 assertTrue("submap should be empty",sub.isEmpty());
438 assertEquals(objArray[objArray.length - 2].toString(), tm.subMap("99",
457 sm = sm.subMap(firstKey, lastKey);
542 assertEquals("Returned incorrect size", 111, tm.subMap("500", "600")
545 tm.subMap("null", "600");
550 assertEquals("Returned incorrect size", 1000, tm.subMap("", "null")
555 * @tests java.util.TreeMap#subMap(java.lang.Object, java.lang.Object)
559 // java.util.TreeMap.subMap(java.lang.Object, java.lang.Object)
560 SortedMap subMap = tm.subMap(objArray[100].toString(), objArray[109
1985 Map<String, String> submap = test_map.subMap("a","z"); local
    [all...]
SortedMapTestBase.java 215 checkSubMap(ref.subMap(key0, key1), map.subMap(key0, key1));
220 map.subMap(0, 100);
222 map.subMap(100, 0);
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedMap.java 284 public ImmutableSortedMap<K, V> subMap(K fromKey, K toKey) {
288 return new ImmutableSortedMap<K, V>(sortedDelegate.subMap(fromKey, toKey));
291 ImmutableSortedMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive){
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
SafeTreeMap.java 211 @Override public NavigableMap<K, V> subMap(
213 return new SafeTreeMap<K, V>(delegate.subMap(
217 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
218 return subMap(fromKey, true, toKey, false);
  /prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar 
  /external/droiddriver/libs/
guava-13.0.jar 
  /prebuilts/devtools/tools/lib/
guava-13.0.1.jar 
  /prebuilts/tools/common/guava-tools/
guava-13.0.1.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/13.0.1/
guava-13.0.1.jar 
  /prebuilts/sdk/tools/lib/
guava-10.0.1.jar 
lint.jar 

Completed in 720 milliseconds

1 2