| /libcore/luni/src/main/java/java/util/concurrent/ | 
| ConcurrentNavigableMap.java | 39     ConcurrentNavigableMap<K,V> headMap(K toKey, boolean inclusive); 60     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...]
 | 
| TreeSet.java | 382         return new TreeSet<E>(backingMap.headMap(end, endInclusive)); 
 | 
| /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...] | 
| /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-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( 
 |