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

1 2 3 4 5 6 7 8

  /libcore/ojluni/src/main/java/java/util/
SortedSet.java 178 SortedSet<E> headSet(E toElement);
NavigableSet.java 60 * {@link #headSet(Object, boolean) headSet(E, boolean)}, and
77 * {@link #headSet(Object) headSet(E)}, and
260 NavigableSet<E> headSet(E toElement, boolean inclusive);
305 * <p>Equivalent to {@code headSet(toElement, false)}.
311 SortedSet<E> headSet(E toElement);
TreeSet.java 337 public NavigableSet<E> headSet(E toElement, boolean inclusive) {
371 public SortedSet<E> headSet(E toElement) {
372 return headSet(toElement, false);
Collections.java     [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
SortedMultisets.java 65 @Override public SortedSet<E> headSet(E toElement) {
ContiguousSet.java 83 @Override public ContiguousSet<C> headSet(C toElement) {
99 * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
ImmutableSortedSet.java 312 public ImmutableSortedSet<E> headSet(E toElement) {
315 return unsafeDelegateSortedSet(sortedDelegate.headSet(toElement), true);
333 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) {
342 return headSet(toElement);
362 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive);
Synchronized.java 256 public SortedSet<E> headSet(E toElement) {
258 return sortedSet(delegate().headSet(toElement), mutex);
AbstractMapBasedMultimap.java 655 public SortedSet<V> headSet(V toElement) {
658 getKey(), getSortedSetDelegate().headSet(toElement),
924 public SortedSet<K> headSet(K toElement) {
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ContiguousSet.java 86 @Override public ContiguousSet<C> headSet(C toElement) {
94 @Override public ContiguousSet<C> headSet(C toElement, boolean inclusive) {
130 * 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);
SortedMultisets.java 68 @Override public SortedSet<E> headSet(E toElement) {
143 public NavigableSet<E> headSet(E toElement, boolean inclusive) {
Constraints.java 147 @Override public SortedSet<E> headSet(E toElement) {
148 return constrainedSortedSet(delegate.headSet(toElement), constraint);
ForwardingNavigableSet.java 63 * {@link #headSet(Object, boolean)}. If you override {@link #headSet(Object, boolean)}, you may
67 return Iterators.getNext(headSet(e, false).descendingIterator(), null);
77 * {@link #headSet(Object, boolean)}. If you override {@link #headSet(Object, boolean)}, you may
81 return Iterators.getNext(headSet(e, true).descendingIterator(), null);
186 * {@code headSet} and {@code tailSet} methods. In many cases, you may wish to override
195 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive);
210 public NavigableSet<E> headSet(E toElement, boolean inclusive) {
211 return delegate().headSet(toElement, inclusive)
    [all...]
ImmutableSortedSet.java 52 * <p>The sets returned by the {@link #headSet}, {@link #tailSet}, and
608 * <p>The {@link SortedSet#headSet} documentation states that a subset of a
615 public ImmutableSortedSet<E> headSet(E toElement) {
616 return headSet(toElement, false);
624 public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) {
685 * These methods perform most headSet, subSet, and tailSet logic, besides
701 return Iterators.getNext(headSet(e, false).descendingIterator(), null);
710 return Iterators.getNext(headSet(e, true).descendingIterator(), null);
Synchronized.java 272 public SortedSet<E> headSet(E toElement) {
274 return sortedSet(delegate().headSet(toElement), mutex);
    [all...]
AbstractMapBasedMultimap.java 658 public SortedSet<V> headSet(V toElement) {
661 getKey(), getSortedSetDelegate().headSet(toElement),
747 public NavigableSet<V> headSet(V toElement, boolean inclusive) {
748 return wrap(getSortedSetDelegate().headSet(toElement, inclusive));
1002 public SortedSet<K> headSet(K toElement) {
1074 public NavigableSet<K> headSet(K toElement) {
1075 return headSet(toElement, false);
1079 public NavigableSet<K> headSet(K toElement, boolean inclusive) {
    [all...]
  /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-tests/test/com/google/common/collect/
SynchronizedNavigableSetTest.java 85 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) {
87 return delegate().headSet(toElement, inclusive);
90 @Override public SortedSet<E> headSet(E toElement) {
91 return headSet(toElement, false);
186 SortedSet<String> headSet = map.headSet("a");
187 assertTrue(headSet instanceof SynchronizedSortedSet);
188 assertSame(MUTEX, ((SynchronizedSortedSet<String>) headSet).mutex);
193 NavigableSet<String> headSet = map.headSet("a", true)
    [all...]
ImmutableRangeSetTest.java 411 assertEquals(asSet.headSet(i, false), expectedSet.headSet(i, false));
412 assertEquals(asSet.headSet(i, true), expectedSet.headSet(i, true));
ForwardingNavigableSetTest.java 137 public SortedSet<T> headSet(T toElement) {
239 forward().headSet("key", false);
240 assertEquals("[headSet(Object,boolean)]", getCalls());
FilteredCollectionsTest.java 250 filter((C) createUnfiltered(contents).headSet(i), EVEN),
251 filter(createUnfiltered(contents), EVEN).headSet(i));
289 filter(createUnfiltered(contents).headSet(i, inclusive), EVEN),
290 filter(createUnfiltered(contents), EVEN).headSet(i, inclusive));
  /external/smali/util/src/main/java/org/jf/util/
ArraySortedSet.java 141 public SortedSet<T> headSet(T toElement) {
  /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/ojluni/src/main/java/java/util/concurrent/
ConcurrentSkipListSet.java 428 public NavigableSet<E> headSet(E toElement, boolean inclusive) {
456 public NavigableSet<E> headSet(E toElement) {
457 return headSet(toElement, false);

Completed in 655 milliseconds

1 2 3 4 5 6 7 8