/libcore/luni/src/main/java/java/util/ |
SortedSet.java | 66 public SortedSet<E> headSet(E end);
|
NavigableSet.java | 27 * null}. Methods {@code subSet}, {@code headSet}, 44 * {@link #headSet(Object) headSet(E)}, and 227 NavigableSet<E> headSet(E toElement, boolean inclusive); 272 * <p>Equivalent to {@code headSet(toElement, false)}. 278 SortedSet<E> headSet(E toElement);
|
TreeSet.java | 370 * @see java.util.NavigableSet#headSet(Object, boolean) 374 public NavigableSet<E> headSet(E end, boolean endInclusive) { 445 public SortedSet<E> headSet(E end) { 446 return headSet(end, false);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TreeMapExtendTest.java | [all...] |
TreeSetTest.java | 192 * @tests java.util.TreeSet#headSet(java.lang.Object) 196 // java.util.TreeSet.headSet(java.lang.Object) 197 Set s = ts.headSet(new Integer(100));
|
/external/guava/guava/src/com/google/common/collect/ |
ContiguousSet.java | 42 @Override public ContiguousSet<C> headSet(C toElement) { 43 return headSet(checkNotNull(toElement), false); 46 @Override ContiguousSet<C> headSet(C toElement, boolean inclusive) { 74 * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
|
ForwardingSortedSet.java | 76 public SortedSet<E> headSet(E toElement) { 77 return delegate().headSet(toElement); 157 * terms of {@link #headSet(Object)} and {@link #tailSet(Object)}. In some 164 return tailSet(fromElement).headSet(toElement);
|
ImmutableSortedSet.java | 51 * <p>The sets returned by the {@link #headSet}, {@link #tailSet}, and 590 * <p>The {@link SortedSet#headSet} documentation states that a subset of a 597 public ImmutableSortedSet<E> headSet(E toElement) { 598 return headSet(toElement, false); 601 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { 652 * These methods perform most headSet, subSet, and tailSet logic, besides
|
SortedMultisets.java | 55 @Override public SortedSet<E> headSet(E toElement) {
|
StandardRowSortedTable.java | 96 public SortedSet<R> headSet(R toElement) {
|
Constraints.java | 175 @Override public SortedSet<E> headSet(E toElement) { 176 return constrainedSortedSet(delegate.headSet(toElement), constraint);
|
AbstractMultimap.java | 684 public SortedSet<V> headSet(V toElement) { 687 getKey(), getSortedSetDelegate().headSet(toElement), 970 public SortedSet<K> headSet(K toElement) { [all...] |
Sets.java | [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ContiguousSetTest.java | 106 ASSERT.that(set.headSet(1)).isEmpty(); 107 ASSERT.that(set.headSet(2)).hasContentsInOrder(1); 108 ASSERT.that(set.headSet(3)).hasContentsInOrder(1, 2); 109 ASSERT.that(set.headSet(4)).hasContentsInOrder(1, 2, 3); 110 ASSERT.that(set.headSet(Integer.MAX_VALUE)).hasContentsInOrder(1, 2, 3); 111 ASSERT.that(set.headSet(1, true)).hasContentsInOrder(1); 112 ASSERT.that(set.headSet(2, true)).hasContentsInOrder(1, 2); 113 ASSERT.that(set.headSet(3, true)).hasContentsInOrder(1, 2, 3); 114 ASSERT.that(set.headSet(4, true)).hasContentsInOrder(1, 2, 3); 115 ASSERT.that(set.headSet(Integer.MAX_VALUE, true)).hasContentsInOrder(1, 2, 3) [all...] |
ImmutableSortedSetTest.java | 120 assertSame(set, set.headSet("c")); 165 assertTrue(set.headSet("g") instanceof ImmutableSortedSet); 166 ASSERT.that(set.headSet("g")).hasContentsInOrder("e"); 167 assertSame(of(), set.headSet("c")); 168 assertSame(of(), set.headSet("e")); 267 assertTrue(set.headSet("e") instanceof ImmutableSortedSet); 268 ASSERT.that(set.headSet("e")).hasContentsInOrder("b", "c", "d"); 269 ASSERT.that(set.headSet("g")).hasContentsInOrder("b", "c", "d", "e", "f"); 270 assertSame(of(), set.headSet("a")); 271 assertSame(of(), set.headSet("b")) 450 SortedSet<String> headset = set.headSet("d"); local [all...] |
ForwardingSortedSetTest.java | 155 forward().headSet("asdf"); 156 assertEquals("[headSet(Object)]", getCalls());
|
TreeMultimapExplicitTest.java | 189 assertEquals(Sets.newHashSet(null, "tree"), keySet.headSet("yahoo"));
|
ImmutableSetCollectionTest.java | 115 .named(ImmutableSortedSetTest.class.getName() + ", headset") 140 ImmutableSortedSet.copyOf(list).headSet("zzy")); 144 ImmutableSortedSetTest.class.getName() + ", headset, reserialized")
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldTreeSetTest.java | 136 // java.util.TreeSet.headSet(java.lang.Object) 137 Set s = ts.headSet(new Integer(100)); 142 SortedSet sort = ts.headSet(new Integer(100)); 144 sort.headSet(new Integer(101)); 151 ts.headSet(this); 158 ts.headSet(null);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SafeTreeSet.java | 118 @Override public SortedSet<E> headSet(E toElement) { 119 return headSet(toElement, false); 122 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { 124 delegate.headSet(checkValid(toElement), inclusive));
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentSkipListSet.java | 387 public NavigableSet<E> headSet(E toElement, boolean inclusive) { 415 public NavigableSet<E> headSet(E toElement) { 416 return headSet(toElement, false);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSortedSet.java | 296 public ImmutableSortedSet<E> headSet(E toElement) { 299 return unsafeDelegateSortedSet(sortedDelegate.headSet(toElement), true); 317 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { 326 return headSet(toElement); 346 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive);
|
Sets.java | 844 public SortedSet<E> headSet(E toElement) { 845 return new FilteredSortedSet<E>(((SortedSet<E>) unfiltered).headSet(toElement), predicate); [all...] |
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
AreaCodeMap.java | 168 currentSetOfLengths = currentSetOfLengths.headSet(possibleLength);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
SetGenerators.java | 98 .headSet("zzy");
|