/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentNavigableMap.java | 40 ConcurrentNavigableMap<K,V> headMap(K toKey, boolean inclusive); 61 ConcurrentNavigableMap<K,V> headMap(K toKey);
|
/libcore/luni/src/main/java/java/util/ |
SortedMap.java | 62 public SortedMap<K,V> headMap(K endKey);
|
NavigableMap.java | 30 * ones. Methods {@code subMap}, {@code headMap}, 51 * {@link #headMap(Object) headMap(K)}, and 326 NavigableMap<K,V> headMap(K toKey, boolean inclusive); 371 * <p>Equivalent to {@code headMap(toKey, false)}. 377 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...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TreeMapTest.java | 287 * java.util.TreeMap#headMap(java.lang.Object) 291 // java.util.TreeMap.headMap(java.lang.Object) 292 Map head = tm.headMap("100"); 307 SortedMap<Integer, Double> smap = map.headMap(null); 344 assertEquals(0, treemap.headMap(null).size()); 347 SortedMap<String, String> headMap = treemap.headMap("100"); 348 headMap.headMap("100"); 356 sub = intMap.headMap(-1) [all...] |
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...] |
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/src/com/google/common/collect/ |
ForwardingSortedMap.java | 77 public SortedMap<K, V> headMap(K toKey) { 78 return delegate().headMap(toKey); 185 * terms of {@link #headMap(Object)} and {@link #tailMap(Object)}. In some 193 return tailMap(fromKey).headMap(toKey);
|
StandardRowSortedTable.java | 118 public SortedMap<R, Map<C, V>> headMap(R toKey) { 121 sortedBackingMap().headMap(toKey), factory).rowMap();
|
EmptyImmutableSortedMap.java | 97 public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
|
ImmutableSortedMap.java | 475 * <p>The {@link SortedMap#headMap} documentation states that a submap of a 482 public ImmutableSortedMap<K, V> headMap(K toKey) { 483 return headMap(toKey, false); 490 * <p>The {@link SortedMap#headMap} documentation states that a submap of a 498 public abstract ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive); 539 return headMap(toKey, toInclusive).tailMap(fromKey, fromInclusive); 573 return headMap(key, false).lastEntry(); 581 return headMap(key, true).lastEntry();
|
RegularImmutableSortedMap.java | 113 public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
|
TreeBasedTable.java | 222 @Override public SortedMap<C, V> headMap(C toKey) { 275 map = map.headMap(upperBound);
|
Maps.java | 834 public SortedMap<K, V> headMap(K toKey) { [all...] |
/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 | 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);
|
Maps.java | 831 public SortedMap<K, V> headMap(K toKey) { [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SafeTreeMap.java | 141 @Override public SortedMap<K, V> headMap(K toKey) { 142 return new SafeTreeMap<K, V>(delegate.headMap(checkValid(toKey)));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
SortedMapNavigationTester.java | 107 assertFalse(navigableMap.headMap(a.getKey()).containsKey(a.getKey())); 120 ASSERT.that(navigableMap.headMap(entries.get(i).getKey()).entrySet())
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSortedMapTest.java | 116 .headMap("d"); 131 .headMap("c", true); 613 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).headMap("three", true); 622 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).headMap("three", false);
|
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...] |
TreeMultimapNaturalTest.java | 200 asMap.headMap("h"));
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingSortedMapTest.java | 201 forward().headMap("asdf"); 202 assertEquals("[headMap(Object)]", getCalls());
|
ImmutableSortedMapTest.java | 179 .headMap("d"); 194 .headMap("c", true); 698 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).headMap("three", true); 707 ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).headMap("three", false);
|