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

1 2 3 4 5 6 7 8 9

  /external/guava/guava-testlib/src/com/google/common/collect/testing/
SortedMapInterfaceTest.java 72 SortedMap<K, V> subMap = map.tailMap(key);
74 subMap.put(key, value);
78 subMap.put(firstEntry.getKey(), value);
99 SortedMap<K, V> subMap = map.tailMap(key);
100 subMap.remove(key);
101 assertNull(subMap.remove(firstEntry.getKey()));
104 assertEquals(subMap.size(), oldSize - 2);
122 SortedMap<K, V> subMap = map.tailMap(key);
123 int subMapSize = subMap.size();
124 subMap.clear()
    [all...]
  /libcore/ojluni/src/main/java/java/util/
SortedMap.java 87 * SortedMap&lt;String, V&gt; sub = m.subMap(low, high+"\0");</pre>
93 * SortedMap&lt;String, V&gt; sub = m.subMap(low+"\0", high);</pre>
154 SortedMap<K,V> subMap(K fromKey, K toKey);
NavigableMap.java 60 * {@link #subMap(Object, boolean, Object, boolean) subMap(K, boolean, K, boolean)},
81 * {@link #subMap(Object, Object) subMap(K, K)},
310 * submap either of whose endpoints lie outside its range.
333 NavigableMap<K,V> subMap(K fromKey, boolean fromInclusive,
397 * <p>Equivalent to {@code subMap(fromKey, true, toKey, false)}.
403 SortedMap<K,V> subMap(K fromKey, K toKey);
TreeMap.java     [all...]
  /libcore/ojluni/src/main/java/java/util/concurrent/
ConcurrentNavigableMap.java 62 ConcurrentNavigableMap<K,V> subMap(K fromKey, boolean fromInclusive,
84 ConcurrentNavigableMap<K,V> subMap(K fromKey, K toKey);
ConcurrentSkipListMap.java     [all...]
  /external/guava/guava/src/com/google/common/collect/
ForwardingSortedMap.java 86 public SortedMap<K, V> subMap(K fromKey, K toKey) {
87 return delegate().subMap(fromKey, toKey);
146 * A sensible default implementation of {@link #subMap(Object, Object)} in
148 * situations, you may wish to override {@link #subMap(Object, Object)} to
StandardRowSortedTable.java 125 public SortedMap<R, Map<C, V>> subMap(R fromKey, R toKey) {
129 sortedBackingMap().subMap(fromKey, toKey), factory).rowMap();
AbstractNavigableMap.java 134 public SortedMap<K, V> subMap(K fromKey, K toKey) {
135 return subMap(fromKey, true, toKey, false);
ForwardingNavigableMap.java 356 * A sensible definition of {@link #subMap(Object, Object)} in terms of
357 * {@link #subMap(Object, boolean, Object, boolean)}. If you override
358 * {@code subMap(K, boolean, K, boolean)}, you may wish to override {@code subMap} to forward to
363 return subMap(fromKey, true, toKey, false);
367 public NavigableMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
368 return delegate().subMap(fromKey, fromInclusive, toKey, toInclusive);
TreeBasedTable.java 216 @Override public SortedMap<C, V> subMap(C fromKey, C toKey) {
TreeRangeSet.java 176 rangesByLowerBound.subMap(lbToAdd, ubToAdd).clear();
221 rangesByLowerBound.subMap(rangeToRemove.lowerBound, rangeToRemove.upperBound).clear();
246 * upperBoundWindow represents the headMap/subMap/tailMap view of the entire "ranges by upper
262 private NavigableMap<Cut<C>, Range<C>> subMap(Range<Cut<C>> window) {
271 public NavigableMap<Cut<C>, Range<C>> subMap(
273 return subMap(Range.range(
280 return subMap(Range.upTo(toKey, BoundType.forBoolean(inclusive)));
285 return subMap(Range.downTo(fromKey, BoundType.forBoolean(inclusive)));
405 * complementLowerBoundWindow represents the headMap/subMap/tailMap view of the entire
422 private NavigableMap<Cut<C>, Range<C>> subMap(Range<Cut<C>> subWindow)
    [all...]
ImmutableSortedMap.java 476 * <p>The {@link SortedMap#headMap} documentation states that a submap of a
477 * submap throws an {@link IllegalArgumentException} if passed a {@code toKey}
491 * <p>The {@link SortedMap#headMap} documentation states that a submap of a
492 * submap throws an {@link IllegalArgumentException} if passed a {@code toKey}
507 * <p>The {@link SortedMap#subMap} documentation states that a submap of a
508 * submap throws an {@link IllegalArgumentException} if passed a {@code
516 public ImmutableSortedMap<K, V> subMap(K fromKey, K toKey) {
517 return subMap(fromKey, true, toKey, false);
525 * <p>The {@link SortedMap#subMap} documentation states that a submap of
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingSortedMapTest.java 109 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
208 forward().subMap("first", "last");
209 assertEquals("[subMap(Object,Object)]", getCalls());
ForwardingNavigableMapTest.java 116 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
364 forward().subMap("a", false, "b", true);
365 assertEquals("[subMap(Object,boolean,Object,boolean)]", getCalls());
SynchronizedNavigableMapTest.java 191 @Override public NavigableMap<K, V> subMap(
194 return delegate().subMap(fromKey, fromInclusive, toKey, toInclusive);
197 @Override public SortedMap<K, V> subMap(K fromKey, K toKey) {
198 return delegate().subMap(fromKey, true, toKey, false);
362 SortedMap<String, Integer> subMap = map.subMap("a", "b");
363 assertTrue(subMap instanceof SynchronizedSortedMap);
364 assertSame(mutex, ((SynchronizedSortedMap<String, Integer>) subMap).mutex);
369 NavigableMap<String, Integer> subMap = map.subMap("a", true, "b", false)
    [all...]
MapsTest.java 694 assertThat(map.subMap("one", "two").entrySet()).has().exactly(
740 map.subMap("a", "z").keySet().add("a");
790 assertThat(map.subMap("one", "two").entrySet()).has().exactly(
799 map.subMap("one", false, "tr", true));
    [all...]
  /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 75 NavigableMap<String, String> subMap = map.subMap("A", true, "C", true);
77 Iterator<Entry<String, String>> iterator = subMap.entrySet().iterator();
81 assertEquals("x", subMap.get("A"));
88 assertEquals("y", subMap.get("B"));
91 assertEquals("z", subMap.get("C"));
117 assertAllEntryMethodsReturnImmutableEntries(map.subMap("A", true, "C", true));
216 map.subMap("a", "z").put(null, "b");
270 Map<Object, Object> map = new TreeMap<Object, Object>().subMap("a", "z");
350 SortedMap<String, String> subMap = map.subMap("a", "c")
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
TreeMapExtendTest.java 188 assertTrue("SubMap contains incorrect elements", subMap_default
190 assertTrue("SubMap contains incorrect elements",
192 assertTrue("SubMap contains incorrect elements",
194 assertTrue("SubMap contains incorrect elements",
196 assertTrue("SubMap contains incorrect elements",
202 assertTrue("SubMap contains incorrect elements", subMap_default
204 assertFalse("SubMap contains incorrect elements",
206 assertFalse("SubMap contains incorrect elements",
208 assertTrue("SubMap contains incorrect elements",
210 assertTrue("SubMap contains incorrect elements"
    [all...]
TreeMapTest.java 360 assertTrue("submap should be empty", sub.isEmpty());
388 assertTrue("submap should be empty", sub.isEmpty());
429 assertEquals(objArray[objArray.length - 2].toString(), tm.subMap("99",
447 sm = sm.subMap(firstKey, lastKey);
506 assertEquals("Returned incorrect size", 111, tm.subMap("500", "600")
509 tm.subMap("null", "600");
514 assertEquals("Returned incorrect size", 1000, tm.subMap("", "null")
519 * java.util.TreeMap#subMap(java.lang.Object, java.lang.Object)
523 // java.util.TreeMap.subMap(java.lang.Object, java.lang.Object)
524 SortedMap subMap = tm.subMap(objArray[100].toString(), objArray[109
1913 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 274 public ImmutableSortedMap<K, V> subMap(K fromKey, K toKey) {
278 return newView(sortedDelegate.subMap(fromKey, toKey));
281 ImmutableSortedMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
  /prebuilts/tools/common/m2/repository/it/unimi/dsi/fastutil/7.2.0/
fastutil-7.2.0.jar 
  /prebuilts/misc/common/robolectric/3.1.1/lib/
backport-util-concurrent-3.1.jar 

Completed in 367 milliseconds

1 2 3 4 5 6 7 8 9