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

1 2 3 4 5 6

  /libcore/ojluni/src/main/java/java/util/
SortedMap.java 181 SortedMap<K,V> headMap(K toKey);
NavigableMap.java 61 * {@link #headMap(Object, boolean) headMap(K, boolean)}, and
82 * {@link #headMap(Object) headMap(K)}, and
363 NavigableMap<K,V> headMap(K toKey, boolean inclusive);
408 * <p>Equivalent to {@code headMap(toKey, false)}.
414 SortedMap<K,V> headMap(K toKey);
TreeMap.java     [all...]
  /libcore/ojluni/src/main/java/java/util/concurrent/
ConcurrentNavigableMap.java 70 ConcurrentNavigableMap<K,V> headMap(K toKey, boolean inclusive);
91 ConcurrentNavigableMap<K,V> headMap(K toKey);
ConcurrentSkipListMap.java     [all...]
  /external/guava/guava/src/com/google/common/collect/
EmptyImmutableSortedMap.java 97 public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
ForwardingSortedMap.java 76 public SortedMap<K, V> headMap(K toKey) {
77 return delegate().headMap(toKey);
147 * terms of {@link #headMap(Object)} and {@link #tailMap(Object)}. In some
155 return tailMap(fromKey).headMap(toKey);
RegularImmutableSortedMap.java 113 public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
StandardRowSortedTable.java 118 public SortedMap<R, Map<C, V>> headMap(R toKey) {
121 sortedBackingMap().headMap(toKey), factory).rowMap();
AbstractNavigableMap.java 88 return headMap(key, false).lastEntry();
94 return headMap(key, true).lastEntry();
139 public SortedMap<K, V> headMap(K toKey) {
140 return headMap(toKey, false);
ForwardingNavigableMap.java 68 * {@link #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override
72 return headMap(key, false).lastEntry();
96 * {@link #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override
100 return headMap(key, true).lastEntry();
372 public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
373 return delegate().headMap(toKey, inclusive);
382 * A sensible definition of {@link #headMap(Object)} in terms of
383 * {@link #headMap(Object, boolean)}. If you override {@code headMap(K, boolean)}, you may wis
    [all...]
TreeBasedTable.java 222 @Override public SortedMap<C, V> headMap(C toKey) {
275 map = map.headMap(upperBound);
TreeRangeSet.java 246 * upperBoundWindow represents the headMap/subMap/tailMap view of the entire "ranges by upper
279 public NavigableMap<Cut<C>, Range<C>> headMap(Cut<C> toKey, boolean inclusive) {
359 candidates = rangesByLowerBound.headMap(upperBoundWindow.upperEndpoint(), false)
405 * complementLowerBoundWindow represents the headMap/subMap/tailMap view of the entire
440 public NavigableMap<Cut<C>, Range<C>> headMap(Cut<C> toKey, boolean inclusive) {
523 Iterators.peekingIterator(positiveRangesByUpperBound.headMap(startingPoint, inclusive)
623 * lowerBoundWindow is the headMap/subMap/tailMap view; it only restricts the keys, and does not
662 public NavigableMap<Cut<C>, Range<C>> headMap(Cut<C> toKey, boolean inclusive) {
753 final Iterator<Range<C>> completeRangeItr = rangesByLowerBound.headMap(
ImmutableSortedMap.java 476 * <p>The {@link SortedMap#headMap} documentation states that a submap of a
483 public ImmutableSortedMap<K, V> headMap(K toKey) {
484 return headMap(toKey, false);
491 * <p>The {@link SortedMap#headMap} documentation states that a submap of a
500 public abstract ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive);
542 return headMap(toKey, toInclusive).tailMap(fromKey, fromInclusive);
578 return headMap(key, false).lastEntry();
588 return headMap(key, true).lastEntry();
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingNavigableMapTest.java 201 public SortedMap<K, V> headMap(K toKey) {
369 forward().headMap("a", false);
370 assertEquals("[headMap(Object,boolean)]", getCalls());
SynchronizedNavigableMapTest.java 142 @Override public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
144 return delegate().headMap(toKey, inclusive);
147 @Override public SortedMap<K, V> headMap(K toKey) {
148 return headMap(toKey, false);
305 SortedMap<String, Integer> headMap = map.headMap("a");
306 assertTrue(headMap instanceof SynchronizedSortedMap);
307 assertSame(mutex, ((SynchronizedSortedMap<String, Integer>) headMap).mutex);
312 NavigableMap<String, Integer> headMap = map.headMap("a", true)
    [all...]
MapsTest.java 711 SortedMap<String, Integer> headMap = map.headMap("two");
714 headMap);
719 headMap);
750 map.headMap("r").keySet().add("a");
755 map.headMap("r").tailMap("m").keySet().add("a");
797 map.headMap("two", false));
816 assertEquals(map.headMap("three", true),
821 assertThat(map.headMap("two", false).values()).has().exactly(3, 5).inOrder();
822 assertThat(map.headMap("two", false).descendingMap().values()
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedMap.java 257 public ImmutableSortedMap<K, V> headMap(K toKey) {
259 return newView(sortedDelegate.headMap(toKey));
262 ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
271 return headMap(toKey);
285 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive);
  /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());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
TreeMapTest.java 289 * java.util.TreeMap#headMap(java.lang.Object)
293 // java.util.TreeMap.headMap(java.lang.Object)
294 Map head = tm.headMap("100");
309 SortedMap<Integer, Double> smap = map.headMap(null);
346 assertEquals(0, treemap.headMap(null).size());
349 SortedMap<String, String> headMap = treemap.headMap("100");
350 headMap.headMap("100");
358 sub = intMap.headMap(-1)
    [all...]
SortedMapTestBase.java 195 checkSubMap(ref.headMap(key), map.headMap(key));
197 checkSubMap(ref.headMap(-1), map.headMap(-1));
TreeMapExtendTest.java 599 subMap_default.headMap(endKey);
606 subMap_startExcluded_endExcluded.headMap(endKey);
613 subMap_startExcluded_endIncluded.headMap(endKey);
620 subMap_startIncluded_endExcluded.headMap(endKey);
627 subMap_startIncluded_endIncluded.headMap(endKey);
633 SortedMap headMap = null;
635 headMap = subMap_default.headMap(endKey);
636 assertEquals(0, headMap.size());
639 headMap = subMap_startExcluded_endExcluded.headMap(endKey)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
NavigableMapNavigationTester.java 249 assertFalse(navigableMap.headMap(a.getKey(), false).containsKey(a.getKey()));
254 assertTrue(navigableMap.headMap(a.getKey(), true).containsKey(a.getKey()));
  /packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
BufferManager.java 401 SortedMap<Long, SampleChunk> headMap = map.headMap(positionUs + 1);
402 if (!headMap.isEmpty()) {
403 sampleChunk = headMap.get(headMap.lastKey());
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
MapsTest.java 645 SortedMap<String, Integer> headMap = map.headMap("two");
648 headMap);
653 headMap);
684 map.headMap("r").keySet().add("a");
689 map.headMap("r").tailMap("m").keySet().add("a");
    [all...]

Completed in 3785 milliseconds

1 2 3 4 5 6