Searched refs:tailSet (Results 1 - 25 of 44) 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.java117 @Override public ContiguousSet<C> tailSet(C fromElement) { method in class:ContiguousSet
125 @Override public ContiguousSet<C> tailSet(C fromElement, boolean inclusive) { method in class:ContiguousSet
130 * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
H A DDescendingImmutableSortedSet.java48 return forward.tailSet(toElement, inclusive).descendingSet();
H A DSortedMultisets.java71 @Override public SortedSet<E> tailSet(E fromElement) { method in class:SortedMultisets.ElementSet
H A DImmutableSortedSet.java51 * <p>The sets returned by the {@link #headSet}, {@link #tailSet}, and
661 * <p>The {@link SortedSet#tailSet} documentation states that a subset of a
668 public ImmutableSortedSet<E> tailSet(E fromElement) { method in class:ImmutableSortedSet
669 return tailSet(fromElement, true);
676 public ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) { method in class:ImmutableSortedSet
681 * These methods perform most headSet, subSet, and tailSet logic, besides
712 return Iterables.getFirst(tailSet(e, true), null);
720 return Iterables.getFirst(tailSet(e, false), null);
H A DConstraints.java190 @Override public SortedSet<E> tailSet(E fromElement) { method in class:Constraints.ConstrainedSortedSet
191 return constrainedSortedSet(delegate.tailSet(fromElement), constraint);
H A DAbstractMapBasedMultimap.java672 public SortedSet<V> tailSet(V fromElement) { method in class:AbstractMapBasedMultimap.WrappedSortedSet
675 getKey(), getSortedSetDelegate().tailSet(fromElement),
940 public SortedSet<K> tailSet(K fromElement) { method in class:AbstractMapBasedMultimap.SortedKeySet
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DContiguousSetTest.java128 ASSERT.that(set.tailSet(Integer.MIN_VALUE)).has().exactly(1, 2, 3).inOrder();
129 ASSERT.that(set.tailSet(1)).has().exactly(1, 2, 3).inOrder();
130 ASSERT.that(set.tailSet(2)).has().exactly(2, 3).inOrder();
131 ASSERT.that(set.tailSet(3)).has().item(3);
132 ASSERT.that(set.tailSet(Integer.MIN_VALUE, false)).has().exactly(1, 2, 3).inOrder();
133 ASSERT.that(set.tailSet(1, false)).has().exactly(2, 3).inOrder();
134 ASSERT.that(set.tailSet(2, false)).has().item(3);
135 ASSERT.that(set.tailSet(3, false)).isEmpty();
139 ASSERT.that(ContiguousSet.create(Range.closed(1, 3), integers()).tailSet(4)).isEmpty();
H A DImmutableSortedSetTest.java114 assertSame(set, set.tailSet("f"));
155 assertTrue(set.tailSet("c") instanceof ImmutableSortedSet);
156 ASSERT.that(set.tailSet("c")).has().item("e");
157 ASSERT.that(set.tailSet("e")).has().item("e");
158 assertSame(of(), set.tailSet("g"));
251 assertTrue(set.tailSet("e") instanceof ImmutableSortedSet);
252 ASSERT.that(set.tailSet("e")).has().exactly("e", "f").inOrder();
253 ASSERT.that(set.tailSet("a")).has().exactly("b", "c", "d", "e", "f").inOrder();
254 assertSame(of(), set.tailSet("g"));
334 assertTrue(set.tailSet("californi
[all...]
H A DTreeMultimapExplicitTest.java203 assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
H A DTreeMultimapNaturalTest.java215 multimap.keySet().tailSet("d").clear();
H A DTreeMultisetTest.java87 ASSERT.that(elementSet.tailSet("b")).has().exactly("b", "c").inOrder();
/external/guava/guava-tests/test/com/google/common/collect/
H A DContiguousSetTest.java153 ASSERT.that(set.tailSet(Integer.MIN_VALUE)).has().exactly(1, 2, 3).inOrder();
154 ASSERT.that(set.tailSet(1)).has().exactly(1, 2, 3).inOrder();
155 ASSERT.that(set.tailSet(2)).has().exactly(2, 3).inOrder();
156 ASSERT.that(set.tailSet(3)).has().item(3);
157 ASSERT.that(set.tailSet(Integer.MIN_VALUE, false)).has().exactly(1, 2, 3).inOrder();
158 ASSERT.that(set.tailSet(1, false)).has().exactly(2, 3).inOrder();
159 ASSERT.that(set.tailSet(2, false)).has().item(3);
160 ASSERT.that(set.tailSet(3, false)).isEmpty();
164 ASSERT.that(ContiguousSet.create(Range.closed(1, 3), integers()).tailSet(4)).isEmpty();
H A DImmutableSortedSetTest.java226 assertSame(set, set.tailSet("f"));
274 assertTrue(set.tailSet("c") instanceof ImmutableSortedSet);
275 ASSERT.that(set.tailSet("c")).has().item("e");
276 ASSERT.that(set.tailSet("e")).has().item("e");
277 assertSame(of(), set.tailSet("g"));
377 assertTrue(set.tailSet("e") instanceof ImmutableSortedSet);
378 ASSERT.that(set.tailSet("e")).has().exactly("e", "f").inOrder();
379 ASSERT.that(set.tailSet("a")).has().exactly("b", "c", "d", "e", "f").inOrder();
380 assertSame(of(), set.tailSet("g"));
474 assertTrue(set.tailSet("californi
[all...]
H A DForwardingSortedSetTest.java170 forward().tailSet("last");
171 assertEquals("[tailSet(Object)]", getCalls());
H A DFilteredCollectionsTest.java260 filter((C) createUnfiltered(contents).tailSet(i), EVEN),
261 filter(createUnfiltered(contents), EVEN).tailSet(i));
H A DTreeMultimapExplicitTest.java205 assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo"));
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableSortedSet.java323 Iterator<E> iterator = tailSet(e).iterator();
362 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive);
365 public ImmutableSortedSet<E> tailSet(E fromElement) { method in class:ImmutableSortedSet
368 return unsafeDelegateSortedSet(sortedDelegate.tailSet(fromElement), true);
374 ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) { method in class:ImmutableSortedSet
383 return tailSet(fromElement);
H A DSortedMultisets.java69 @Override public SortedSet<E> tailSet(E fromElement) { method in class:SortedMultisets.ElementSet
H A DContiguousSet.java94 @Override public ContiguousSet<C> tailSet(C fromElement) { method in class:ContiguousSet
99 * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
H A DAbstractMapBasedMultimap.java671 public SortedSet<V> tailSet(V fromElement) { method in class:AbstractMapBasedMultimap.WrappedSortedSet
674 getKey(), getSortedSetDelegate().tailSet(fromElement),
939 public SortedSet<K> tailSet(K fromElement) { method in class:AbstractMapBasedMultimap.SortedKeySet
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DSafeTreeSet.java134 @Override public SortedSet<E> tailSet(E fromElement) { method in class:SafeTreeSet
135 return new SafeTreeSet<E>(delegate.tailSet(checkValid(fromElement)));
/external/smali/util/src/main/java/org/jf/util/
H A DArraySortedSet.java146 public SortedSet<T> tailSet(T fromElement) { method in class:ArraySortedSet
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/
H A DSetGenerators.java116 .tailSet("\0\0");
310 return checkedCreate(set).tailSet(tooLow + 1);
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DSetGenerators.java117 .tailSet("\0\0");
337 return checkedCreate(set).tailSet(tooLow + 1);

Completed in 2438 milliseconds

12