Searched refs:tailSet (Results 1 - 25 of 31) sorted by relevance

12

/external/guava/guava/src/com/google/common/collect/
H A DForwardingSortedSet.java91 public SortedSet<E> tailSet(E fromElement) { method in class:ForwardingSortedSet
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(fromElemen
[all...]
H A DContiguousSet.java65 @Override public ContiguousSet<C> tailSet(C fromElement) { method in class:ContiguousSet
66 return tailSet(checkNotNull(fromElement), true);
69 @Override ContiguousSet<C> tailSet(C fromElement, boolean inclusive){ method in class:ContiguousSet
74 * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
H A DImmutableSortedSet.java51 * <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) { method in class:ImmutableSortedSet
644 return tailSet(fromElement, true);
647 ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) { method in class:ImmutableSortedSet
652 * These methods perform most headSet, subSet, and tailSet logic, besides
H A DSortedMultisets.java59 @Override public SortedSet<E> tailSet(E fromElement) { method in class:SortedMultisets.ElementSet
H A DStandardRowSortedTable.java112 public SortedSet<R> tailSet(R fromElement) { method in class:StandardRowSortedTable.RowKeySortedSet
H A DConstraints.java182 @Override public SortedSet<E> tailSet(E fromElement) { method in class:Constraints.ConstrainedSortedSet
183 return constrainedSortedSet(delegate.tailSet(fromElement), constraint);
H A DAbstractMultimap.java700 public SortedSet<V> tailSet(V fromElement) { method in class:AbstractMultimap.WrappedSortedSet
703 getKey(), getSortedSetDelegate().tailSet(fromElement),
985 public SortedSet<K> tailSet(K fromElement) { method in class:AbstractMultimap.SortedKeySet
H A DSets.java861 public SortedSet<E> tailSet(E fromElement) { method in class:Sets.FilteredSortedSet
862 return new FilteredSortedSet<E>(((SortedSet<E>) unfiltered).tailSet(fromElement), predicate);
H A DSynchronized.java274 public SortedSet<E> tailSet(E fromElement) { method in class:Synchronized.SynchronizedSortedSet
276 return sortedSet(delegate().tailSet(fromElement), mutex);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DTreeMapExtendTest.java4139 Set entrySet, tailSet;
4152 tailSet = descendingSubMapEntrySet.tailSet(entry);
4153 tailSetIterator = tailSet.iterator();
4166 tailSet = descendingSubMapEntrySet.tailSet(entry, false);
4167 tailSetIterator = tailSet.iterator();
4180 tailSet = descendingSubMapEntrySet.tailSet(entry, true);
4181 tailSetIterator = tailSet
[all...]
H A DTreeSetTest.java288 * @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/
H A DContiguousSetTest.java128 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);
H A DImmutableSortedSetTest.java125 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("californi
[all...]
H A DForwardingSortedSetTest.java170 forward().tailSet("last");
171 assertEquals("[tailSet(Object)]", getCalls());
H A DTreeMultimapExplicitTest.java190 assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
H A DTreeMultimapNaturalTest.java169 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();
H A DImmutableSetCollectionTest.java155 ImmutableSortedSet.copyOf(list).tailSet("\0\0"));
H A DConstraintsTest.java167 constrained.tailSet("foo").add(TEST_ELEMENT);
H A DTreeMultisetTest.java143 ASSERT.that(elementSet.tailSet("b")).hasContentsInOrder("b", "c");
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DSafeTreeSet.java182 @Override public SortedSet<E> tailSet(E fromElement) { method in class:SafeTreeSet
183 return tailSet(fromElement, true);
186 @Override public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { method in class:SafeTreeSet
187 return delegate.tailSet(checkValid(fromElement), inclusive);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableSortedSet.java307 Iterator<E> iterator = tailSet(e).iterator();
346 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive);
349 public ImmutableSortedSet<E> tailSet(E fromElement) { method in class:ImmutableSortedSet
352 return unsafeDelegateSortedSet(sortedDelegate.tailSet(fromElement), true);
358 ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) { method in class:ImmutableSortedSet
367 return tailSet(fromElement);
H A DImmutableSortedMap.java257 Iterator<K> iterator = keySet().tailSet(k).iterator();
H A DSets.java849 public SortedSet<E> tailSet(E fromElement) { method in class:Sets.FilteredSortedSet
850 return new FilteredSortedSet<E>(((SortedSet<E>) unfiltered).tailSet(fromElement), predicate);
H A DSynchronized.java261 public SortedSet<E> tailSet(E fromElement) { method in class:Synchronized.SynchronizedSortedSet
263 return sortedSet(delegate().tailSet(fromElement), mutex);
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DSetGenerators.java108 .tailSet("\0\0");

Completed in 1043 milliseconds

12