HomeSort by relevance Sort by last modified time
    Searched refs:tailSet (Results 1 - 25 of 50) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/
SortedSet.java 118 public SortedSet<E> tailSet(E start);
NavigableSet.java 29 * and {@code tailSet} differ from the like-named {@code
46 * {@link #tailSet tailSet(E)}
257 NavigableSet<E> tailSet(E fromElement, boolean inclusive);
284 * <p>Equivalent to {@code tailSet(fromElement, true)}.
290 SortedSet<E> tailSet(E fromElement);
TreeSet.java 388 * @see java.util.NavigableSet#tailSet(Object, boolean)
392 public NavigableSet<E> tailSet(E start, boolean startInclusive) {
468 public SortedSet<E> tailSet(E start) {
469 return tailSet(start, true);
  /external/guava/guava/src/com/google/common/collect/
ForwardingSortedSet.java 91 public SortedSet<E> tailSet(E fromElement) {
92 return delegate().tailSet(fromElement);
106 * method of {@link #tailSet}. If you override {@link #tailSet}, you may wish
116 Object ceiling = self.tailSet(object).first();
129 * method of {@link #tailSet}. If you override {@link #tailSet}, you may wish
139 Iterator<Object> iterator = self.tailSet(object).iterator();
157 * terms of {@link #headSet(Object)} and {@link #tailSet(Object)}. In some
164 return tailSet(fromElement).headSet(toElement)
    [all...]
ContiguousSet.java 65 @Override public ContiguousSet<C> tailSet(C fromElement) {
66 return tailSet(checkNotNull(fromElement), true);
69 @Override ContiguousSet<C> tailSet(C fromElement, boolean inclusive){
74 * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
ImmutableSortedSet.java 51 * <p>The sets returned by the {@link #headSet}, {@link #tailSet}, and
636 * <p>The {@link SortedSet#tailSet} documentation states that a subset of a
643 public ImmutableSortedSet<E> tailSet(E fromElement) {
644 return tailSet(fromElement, true);
647 ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) {
652 * These methods perform most headSet, subSet, and tailSet logic, besides
SortedMultisets.java 59 @Override public SortedSet<E> tailSet(E fromElement) {
StandardRowSortedTable.java 112 public SortedSet<R> tailSet(R fromElement) {
Constraints.java 182 @Override public SortedSet<E> tailSet(E fromElement) {
183 return constrainedSortedSet(delegate.tailSet(fromElement), constraint);
AbstractMultimap.java 700 public SortedSet<V> tailSet(V fromElement) {
703 getKey(), getSortedSetDelegate().tailSet(fromElement),
985 public SortedSet<K> tailSet(K fromElement) {
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
TreeMapExtendTest.java     [all...]
TreeSetTest.java 288 * @tests java.util.TreeSet#tailSet(java.lang.Object)
292 // java.util.TreeSet.tailSet(java.lang.Object)
293 Set s = ts.tailSet(new Integer(900));
  /external/guava/guava-tests/test/com/google/common/collect/
ContiguousSetTest.java 128 ASSERT.that(set.tailSet(Integer.MIN_VALUE)).hasContentsInOrder(1, 2, 3);
129 ASSERT.that(set.tailSet(1)).hasContentsInOrder(1, 2, 3);
130 ASSERT.that(set.tailSet(2)).hasContentsInOrder(2, 3);
131 ASSERT.that(set.tailSet(3)).hasContentsInOrder(3);
132 ASSERT.that(set.tailSet(Integer.MIN_VALUE, false)).hasContentsInOrder(1, 2, 3);
133 ASSERT.that(set.tailSet(1, false)).hasContentsInOrder(2, 3);
134 ASSERT.that(set.tailSet(2, false)).hasContentsInOrder(3);
135 ASSERT.that(set.tailSet(3, false)).isEmpty();
141 set.tailSet(4);
ImmutableSortedSetTest.java 125 assertSame(set, set.tailSet("f"));
173 assertTrue(set.tailSet("c") instanceof ImmutableSortedSet);
174 ASSERT.that(set.tailSet("c")).hasContentsInOrder("e");
175 ASSERT.that(set.tailSet("e")).hasContentsInOrder("e");
176 assertSame(of(), set.tailSet("g"));
276 assertTrue(set.tailSet("e") instanceof ImmutableSortedSet);
277 ASSERT.that(set.tailSet("e")).hasContentsInOrder("e", "f");
278 ASSERT.that(set.tailSet("a")).hasContentsInOrder("b", "c", "d", "e", "f");
279 assertSame(of(), set.tailSet("g"));
373 assertTrue(set.tailSet("california") instanceof ImmutableSortedSet)
457 SortedSet<String> tailset = set.tailSet("d"); local
    [all...]
ForwardingSortedSetTest.java 170 forward().tailSet("last");
171 assertEquals("[tailSet(Object)]", getCalls());
TreeMultimapExplicitTest.java 190 assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
TreeMultimapNaturalTest.java 169 Set<Integer> fooSet = multimap.get("foo").tailSet(2);
171 Set<Integer> missingSet = multimap.get("missing").tailSet(4);
273 assertEquals(ImmutableSet.of("tree"), keySet.tailSet("hi"));
543 multimap.keySet().tailSet("d").clear();
ImmutableSetCollectionTest.java 122 .named(ImmutableSortedSetTest.class.getName() + ", tailset")
155 ImmutableSortedSet.copyOf(list).tailSet("\0\0"));
159 ImmutableSortedSetTest.class.getName() + ", tailset, reserialized")
  /libcore/luni/src/test/java/libcore/java/util/
OldTreeSetTest.java 222 // java.util.TreeSet.tailSet(java.lang.Object)
223 Set s = ts.tailSet(new Integer(900));
228 SortedSet sort = ts.tailSet(new Integer(101));
231 sort.tailSet(new Integer(100));
238 ts.tailSet(this);
245 ts.tailSet(null);
  /libcore/luni/src/main/java/java/util/concurrent/
ConcurrentSkipListSet.java 395 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) {
423 public NavigableSet<E> tailSet(E fromElement) {
424 return tailSet(fromElement, true);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
SafeTreeSet.java 182 @Override public SortedSet<E> tailSet(E fromElement) {
183 return tailSet(fromElement, true);
186 @Override public NavigableSet<E> tailSet(E fromElement, boolean inclusive) {
187 return delegate.tailSet(checkValid(fromElement), inclusive);
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedSet.java 307 Iterator<E> iterator = tailSet(e).iterator();
346 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive);
349 public ImmutableSortedSet<E> tailSet(E fromElement) {
352 return unsafeDelegateSortedSet(sortedDelegate.tailSet(fromElement), true);
358 ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) {
367 return tailSet(fromElement);
  /development/tools/idegen/src/
Eclipse.java 122 SortedSet<File> nextRoots = c.sourceRoots.tailSet(sourceRoot);
146 SortedSet<File> excludedDirs = c.excludedDirs.tailSet(sourceRoot);
Configuration.java 232 SortedSet<File> tailSet = excludedDirs.tailSet(sourceRoot);
233 for (File file : tailSet) {
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
SetGenerators.java 108 .tailSet("\0\0");

Completed in 429 milliseconds

1 2