HomeSort by relevance Sort by last modified time
    Searched refs:headMap (Results 1 - 25 of 46) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/concurrent/
ConcurrentNavigableMap.java 39 ConcurrentNavigableMap<K,V> headMap(K toKey, boolean inclusive);
61 ConcurrentNavigableMap<K,V> headMap(K toKey);
ConcurrentSkipListSet.java 387 return new ConcurrentSkipListSet<E>(m.headMap(toElement, inclusive));
  /libcore/luni/src/main/java/java/util/
SortedMap.java 64 public SortedMap<K,V> headMap(K endKey);
NavigableMap.java 31 * ones. Methods {@code subMap}, {@code headMap},
52 * {@link #headMap headMap(K)}, and
333 NavigableMap<K,V> headMap(K toKey, boolean inclusive);
378 * <p>Equivalent to {@code headMap(toKey, false)}.
384 SortedMap<K,V> headMap(K toKey);
TreeMap.java 707 public NavigableMap<K, V> headMap(K to, boolean inclusive) {
712 public SortedMap<K, V> headMap(K toExclusive) {
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ForwardingSortedMap.java 75 public SortedMap<K, V> headMap(K toKey) {
76 return delegate().headMap(toKey);
162 * terms of {@link #headMap(Object)} and {@link #tailMap(Object)}. In some
169 return tailMap(fromKey).headMap(toKey);
SortedMaps.java 349 SortedMap<K, V> headMap = sortedMap();
352 K key = headMap.lastKey();
356 headMap = sortedMap().headMap(key);
360 @Override public SortedMap<K, V> headMap(K toKey) {
361 return new FilteredSortedMap<K, V>(sortedMap().headMap(toKey), predicate);
StandardRowSortedTable.java 99 sortedBackingMap().headMap(toElement), factory).rowKeySet();
149 public SortedMap<R, Map<C, V>> headMap(R toKey) {
152 sortedBackingMap().headMap(toKey), factory).rowMap();
ImmutableSortedMap.java 643 * <p>The {@link SortedMap#headMap} documentation states that a submap of a
650 public ImmutableSortedMap<K, V> headMap(K toKey) {
651 return headMap(toKey, false);
654 ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive){
687 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive);
TreeBasedTable.java 214 @Override public SortedMap<C, V> headMap(C toKey) {
267 map = map.headMap(upperBound);
Maps.java     [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
TreeMapTest.java 298 * @tests java.util.TreeMap#headMap(java.lang.Object)
302 // java.util.TreeMap.headMap(java.lang.Object)
303 Map head = tm.headMap("100");
318 SortedMap<Integer, Double> smap = map.headMap(null);
355 assertEquals(0, treemap.headMap(null).size());
358 SortedMap<String, String> headMap = treemap.headMap("100");
359 headMap.headMap("100");
367 sub = intMap.headMap(-1)
    [all...]
TreeMapExtendTest.java 601 subMap_default.headMap(endKey);
608 subMap_startExcluded_endExcluded.headMap(endKey);
615 subMap_startExcluded_endIncluded.headMap(endKey);
622 subMap_startIncluded_endExcluded.headMap(endKey);
629 subMap_startIncluded_endIncluded.headMap(endKey);
635 SortedMap headMap = null;
637 headMap = subMap_default.headMap(endKey);
638 assertEquals(0, headMap.size());
640 headMap = subMap_startExcluded_endExcluded.headMap(endKey)
    [all...]
SortedMapTestBase.java 195 checkSubMap(ref.headMap(key), map.headMap(key));
197 checkSubMap(ref.headMap(-1), map.headMap(-1));
RefSortedMap.java 188 public SortedMap<K, V> headMap(K key) {
278 public SortedMap<K, V> headMap(K key) {
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
SafeTreeMap.java 139 @Override public SortedMap<K, V> headMap(K toKey) {
140 return headMap(toKey, false);
143 @Override public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
145 delegate.headMap(checkValid(toKey), inclusive));
SortedMapInterfaceTest.java 200 SortedMap<K, V> headMap = map.headMap(list.get(i).getKey());
201 assertEquals(expected, toList(headMap.entrySet()));
293 SortedMap<K, V> head = map.headMap(secondEntry.getKey());
NavigableMapTestSuiteBuilder.java 162 return map.headMap(lastExclusive);
164 return map.headMap(lastInclusive, true);
  /libcore/luni/src/test/java/libcore/java/util/
OldTreeMapTest.java 212 // java.util.TreeMap.headMap(java.lang.Object)
213 Map head = tm.headMap("100");
218 SortedMap sort = tm.headMap("100");
220 sort.headMap("50");
227 tm.headMap(this);
234 tm.headMap(null);
249 SortedMap<Integer, Double> smap = map.headMap(null);
286 assertEquals(0, treemap.headMap(null).size());
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedMap.java 267 public ImmutableSortedMap<K, V> headMap(K toKey) {
269 return new ImmutableSortedMap<K, V>(sortedDelegate.headMap(toKey));
272 ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
281 return headMap(toKey);
295 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive);
Maps.java     [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
SortedMapsTest.java 118 ASSERT.that(filtered.headMap(5).keySet()).hasContentsInOrder(2, 4);
147 ASSERT.that(filtered.headMap(5).keySet()).hasContentsInOrder(3, 4);
ForwardingSortedMapTest.java 222 forward().headMap("asdf");
223 assertEquals("[headMap(Object)]", getCalls());
ImmutableSortedMapTest.java 133 .named("ImmutableSortedMap.headMap.keySet")
242 .headMap("d");
257 .headMap("c", true);
768 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).headMap("three", true);
776 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).headMap("three", false);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
SortedMapGenerators.java 134 return builder.build().headMap(

Completed in 603 milliseconds

1 2