/external/guava/guava/src/com/google/common/collect/ |
H A D | ForwardingSortedMap.java | 75 public SortedMap<K, V> headMap(K toKey) { method in class:ForwardingSortedMap 76 return delegate().headMap(toKey); 162 * terms of {@link #headMap(Object)} and {@link #tailMap(Object)}. In some 169 return tailMap(fromKey).headMap(toKey);
|
H A D | 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) { method in class:SortedMaps.FilteredSortedMap 361 return new FilteredSortedMap<K, V>(sortedMap().headMap(toKey), predicate);
|
H A D | StandardRowSortedTable.java | 99 sortedBackingMap().headMap(toElement), factory).rowKeySet(); 149 public SortedMap<R, Map<C, V>> headMap(R toKey) { method in class:StandardRowSortedTable.RowSortedMap 152 sortedBackingMap().headMap(toKey), factory).rowMap();
|
H A D | ImmutableSortedMap.java | 643 * <p>The {@link SortedMap#headMap} documentation states that a submap of a 650 public ImmutableSortedMap<K, V> headMap(K toKey) { method in class:ImmutableSortedMap 651 return headMap(toKey, false); 654 ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive){ method in class:ImmutableSortedMap 687 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive);
|
H A D | TreeBasedTable.java | 214 @Override public SortedMap<C, V> headMap(C toKey) { method in class:TreeBasedTable.TreeRow 267 map = map.headMap(upperBound);
|
H A D | Maps.java | 1265 @Override public SortedMap<K, V2> headMap(K toKey) { method in class:Maps.TransformedEntriesSortedMap 1266 return transformEntries(fromMap().headMap(toKey), transformer); 1726 SortedMap<K, V> headMap = sortedMap(); 1729 K key = headMap.lastKey(); 1733 headMap = sortedMap().headMap(key); 1737 @Override public SortedMap<K, V> headMap(K toKey) { method in class:Maps.FilteredEntrySortedMap 1738 return new FilteredEntrySortedMap<K, V>(sortedMap().headMap(toKey), predicate);
|
H A D | AbstractMultimap.java | 971 return new SortedKeySet(sortedMap().headMap(toElement)); 1168 * Usually the same as map, but smaller for the headMap(), tailMap(), or 1324 public SortedMap<K, Collection<V>> headMap(K toKey) { method in class:AbstractMultimap.SortedAsMap 1325 return new SortedAsMap(sortedMap().headMap(toKey));
|
H A D | Synchronized.java | 1071 @Override public SortedMap<K, V> headMap(K toKey) { method in class:Synchronized.SynchronizedSortedMap 1073 return sortedMap(delegate().headMap(toKey), mutex);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
H A D | 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( [all...] |
H A D | 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 [all...] |
H A D | SortedMapTestBase.java | 195 checkSubMap(ref.headMap(key), map.headMap(key)); 197 checkSubMap(ref.headMap(-1), map.headMap(-1));
|
H A D | RefSortedMap.java | 188 public SortedMap<K, V> headMap(K key) { method in class:RefSortedMap.SubMap 278 public SortedMap<K, V> headMap(K key) { method in class:RefSortedMap
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
H A D | SafeTreeMap.java | 139 @Override public SortedMap<K, V> headMap(K toKey) { method in class:SafeTreeMap 140 return headMap(toKey, false); 143 @Override public NavigableMap<K, V> headMap(K toKey, boolean inclusive) { method in class:SafeTreeMap 145 delegate.headMap(checkValid(toKey), inclusive));
|
H A D | 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());
|
H A D | NavigableMapTestSuiteBuilder.java | 162 return map.headMap(lastExclusive); 164 return map.headMap(lastInclusive, true);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | ImmutableSortedMap.java | 267 public ImmutableSortedMap<K, V> headMap(K toKey) { method in class:ImmutableSortedMap 269 return new ImmutableSortedMap<K, V>(sortedDelegate.headMap(toKey)); 272 ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) { method in class:ImmutableSortedMap 281 return headMap(toKey); 295 return tailMap(fromKey, fromInclusive).headMap(toKey, toInclusive);
|
H A D | Maps.java | 1236 @Override public SortedMap<K, V2> headMap(K toKey) { method in class:Maps.TransformedEntriesSortedMap 1237 return transformEntries(fromMap().headMap(toKey), transformer); 1697 SortedMap<K, V> headMap = sortedMap(); 1700 K key = headMap.lastKey(); 1704 headMap = sortedMap().headMap(key); 1708 @Override public SortedMap<K, V> headMap(K toKey) { method in class:Maps.FilteredEntrySortedMap 1709 return new FilteredEntrySortedMap<K, V>(sortedMap().headMap(toKey), predicate);
|
H A D | Synchronized.java | 1058 @Override public SortedMap<K, V> headMap(K toKey) { method in class:Synchronized.SynchronizedSortedMap 1060 return sortedMap(delegate().headMap(toKey), mutex);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | SortedMapsTest.java | 118 ASSERT.that(filtered.headMap(5).keySet()).hasContentsInOrder(2, 4); 147 ASSERT.that(filtered.headMap(5).keySet()).hasContentsInOrder(3, 4);
|
H A D | ForwardingSortedMapTest.java | 222 forward().headMap("asdf"); 223 assertEquals("[headMap(Object)]", getCalls());
|
H A D | 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);
|
H A D | TreeBasedTableTest.java | 286 = sortedTable.rowMap().headMap("cat");
|
H A D | MapsTest.java | 1423 ASSERT.that(filtered.headMap(5).keySet()).hasContentsInOrder(2, 4); 1444 ASSERT.that(filtered.headMap(5).keySet()).hasContentsInOrder(3, 4);
|
H A D | TableCollectionTest.java | 1126 return table.rowMap().headMap("x"); 1130 return makeTable().rowMap().headMap("x");
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
H A D | SortedMapGenerators.java | 134 return builder.build().headMap(
|