/external/guava/guava-tests/test/com/google/common/collect/ |
D | SynchronizedNavigableSetTest.java | 124 @Override public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() method in SynchronizedNavigableSetTest.TestSet 126 return delegate().tailSet(fromElement, inclusive); in tailSet() 129 @Override public SortedSet<E> tailSet(E fromElement) { in tailSet() method in SynchronizedNavigableSetTest.TestSet 130 return tailSet(fromElement, true); in tailSet() 214 SortedSet<String> tailSet = map.tailSet("a"); in testTailSet_E() local 215 assertTrue(tailSet instanceof SynchronizedSortedSet); in testTailSet_E() 216 assertSame(MUTEX, ((SynchronizedSortedSet<String>) tailSet).mutex); in testTailSet_E() 221 NavigableSet<String> tailSet = map.tailSet("a", true); in testTailSet_E_B() local 222 assertTrue(tailSet instanceof SynchronizedNavigableSet); in testTailSet_E_B() 223 assertSame(MUTEX, ((SynchronizedNavigableSet<String>) tailSet).mutex); in testTailSet_E_B()
|
D | ImmutableSortedSetTest.java | 226 assertSame(set, set.tailSet("f")); in testEmpty_tailSet() 274 assertTrue(set.tailSet("c") instanceof ImmutableSortedSet); in testSingle_tailSet() 275 assertThat(set.tailSet("c")).has().item("e"); in testSingle_tailSet() 276 assertThat(set.tailSet("e")).has().item("e"); in testSingle_tailSet() 277 assertSame(of(), set.tailSet("g")); in testSingle_tailSet() 377 assertTrue(set.tailSet("e") instanceof ImmutableSortedSet); in testOf_tailSet() 378 assertThat(set.tailSet("e")).has().exactly("e", "f").inOrder(); in testOf_tailSet() 379 assertThat(set.tailSet("a")).has().exactly("b", "c", "d", "e", "f").inOrder(); in testOf_tailSet() 380 assertSame(of(), set.tailSet("g")); in testOf_tailSet() 474 assertTrue(set.tailSet("california") instanceof ImmutableSortedSet); in testExplicit_tailSet() [all …]
|
D | ContiguousSetTest.java | 166 assertThat(set.tailSet(Integer.MIN_VALUE)).has().exactly(1, 2, 3).inOrder(); in testTailSet() 167 assertThat(set.tailSet(1)).has().exactly(1, 2, 3).inOrder(); in testTailSet() 168 assertThat(set.tailSet(2)).has().exactly(2, 3).inOrder(); in testTailSet() 169 assertThat(set.tailSet(3)).has().item(3); in testTailSet() 170 assertThat(set.tailSet(Integer.MIN_VALUE, false)).has().exactly(1, 2, 3).inOrder(); in testTailSet() 171 assertThat(set.tailSet(1, false)).has().exactly(2, 3).inOrder(); in testTailSet() 172 assertThat(set.tailSet(2, false)).has().item(3); in testTailSet() 173 assertThat(set.tailSet(3, false)).isEmpty(); in testTailSet() 177 assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).tailSet(4)).isEmpty(); in testTailSet_tooLarge()
|
D | FilteredCollectionsTest.java | 261 filter((C) createUnfiltered(contents).tailSet(i), EVEN), in testTailSet() 262 filter(createUnfiltered(contents), EVEN).tailSet(i)); in testTailSet() 301 filter(createUnfiltered(contents).tailSet(i, inclusive), EVEN), in testNavigableTailSet() 302 filter(createUnfiltered(contents), EVEN).tailSet(i, inclusive)); in testNavigableTailSet()
|
D | ForwardingNavigableSetTest.java | 142 public SortedSet<T> tailSet(T fromElement) { in tailSet() method in ForwardingNavigableSetTest.StandardImplForwardingNavigableSet 249 forward().tailSet("key", false); in testTailSet_K_Boolean()
|
D | ImmutableRangeSetTest.java | 428 assertEquals(asSet.tailSet(i, false), expectedSet.tailSet(i, false)); in testAsSetTailSet() 429 assertEquals(asSet.tailSet(i, true), expectedSet.tailSet(i, true)); in testAsSetTailSet()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ForwardingNavigableSet.java | 95 return Iterators.getNext(tailSet(e, true).iterator(), null); in standardCeiling() 109 return Iterators.getNext(tailSet(e, false).iterator(), null); in standardHigher() 195 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive); in standardSubSet() 225 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() method in ForwardingNavigableSet 226 return delegate().tailSet(fromElement, inclusive); in tailSet() 236 return tailSet(fromElement, true); in standardTailSet()
|
D | ForwardingSortedSet.java | 91 public SortedSet<E> tailSet(E fromElement) { in tailSet() method in ForwardingSortedSet 92 return delegate().tailSet(fromElement); in tailSet() 116 Object ceiling = self.tailSet(object).first(); in standardContains() 139 Iterator<Object> iterator = self.tailSet(object).iterator(); in standardRemove() 164 return tailSet(fromElement).headSet(toElement); in standardSubSet()
|
D | Sets.java | 853 public SortedSet<E> tailSet(E fromElement) { 854 return new FilteredSortedSet<E>(((SortedSet<E>) unfiltered).tailSet(fromElement), predicate); 947 return Iterables.getFirst(tailSet(e, true), null); 952 return Iterables.getFirst(tailSet(e, false), null); 993 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { 994 return filter(unfiltered().tailSet(fromElement, inclusive), predicate); 1478 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { 1480 delegate.tailSet(fromElement, inclusive)); 1629 return forward.tailSet(toElement, inclusive).descendingSet(); 1633 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { [all …]
|
D | ImmutableSortedSet.java | 671 public ImmutableSortedSet<E> tailSet(E fromElement) { in tailSet() method in ImmutableSortedSet 672 return tailSet(fromElement, true); in tailSet() 680 public ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() method in ImmutableSortedSet 719 return Iterables.getFirst(tailSet(e, true), null); in ceiling() 728 return Iterables.getFirst(tailSet(e, false), null); in higher()
|
D | ContiguousSet.java | 117 @Override public ContiguousSet<C> tailSet(C fromElement) { in tailSet() method in ContiguousSet 125 @Override public ContiguousSet<C> tailSet(C fromElement, boolean inclusive) { in tailSet() method in ContiguousSet
|
D | SortedMultisets.java | 72 @Override public SortedSet<E> tailSet(E fromElement) { in tailSet() method in SortedMultisets.ElementSet 149 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() method in SortedMultisets.NavigableElementSet
|
D | AbstractMapBasedMultimap.java | 674 public SortedSet<V> tailSet(V fromElement) { in tailSet() method in AbstractMapBasedMultimap.WrappedSortedSet 677 getKey(), getSortedSetDelegate().tailSet(fromElement), in tailSet() 752 public NavigableSet<V> tailSet(V fromElement, boolean inclusive) { in tailSet() method in AbstractMapBasedMultimap.WrappedNavigableSet 753 return wrap(getSortedSetDelegate().tailSet(fromElement, inclusive)); in tailSet() 1017 public SortedSet<K> tailSet(K fromElement) { in tailSet() method in SortedKeySet 1096 public NavigableSet<K> tailSet(K fromElement) { in tailSet() method in NavigableKeySet 1097 return tailSet(fromElement, true); in tailSet() 1101 public NavigableSet<K> tailSet(K fromElement, boolean inclusive) { in tailSet() method in NavigableKeySet
|
D | Constraints.java | 154 @Override public SortedSet<E> tailSet(E fromElement) { in tailSet() method in Constraints.ConstrainedSortedSet 155 return constrainedSortedSet(delegate.tailSet(fromElement), constraint); in tailSet()
|
D | DescendingImmutableSortedSet.java | 48 return forward.tailSet(toElement, inclusive).descendingSet(); in headSetImpl()
|
D | Maps.java | 875 return asMap(backingSet().tailSet(fromKey), function); 918 return asMap(set.tailSet(fromKey, inclusive), function); 1016 public SortedSet<E> tailSet(E fromElement) { 1017 return removeOnlySortedSet(super.tailSet(fromElement)); 1052 public SortedSet<E> tailSet(E fromElement) { 1053 return removeOnlySortedSet(super.tailSet(fromElement)); 1062 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { 1063 return removeOnlyNavigableSet(super.tailSet(fromElement, inclusive)); 2819 public SortedSet<K> tailSet(K fromElement) { 3557 public SortedSet<K> tailSet(K fromElement) { [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableSortedSetTest.java | 114 assertSame(set, set.tailSet("f")); in testEmpty_tailSet() 155 assertTrue(set.tailSet("c") instanceof ImmutableSortedSet); in testSingle_tailSet() 156 assertThat(set.tailSet("c")).has().item("e"); in testSingle_tailSet() 157 assertThat(set.tailSet("e")).has().item("e"); in testSingle_tailSet() 158 assertSame(of(), set.tailSet("g")); in testSingle_tailSet() 251 assertTrue(set.tailSet("e") instanceof ImmutableSortedSet); in testOf_tailSet() 252 assertThat(set.tailSet("e")).has().exactly("e", "f").inOrder(); in testOf_tailSet() 253 assertThat(set.tailSet("a")).has().exactly("b", "c", "d", "e", "f").inOrder(); in testOf_tailSet() 254 assertSame(of(), set.tailSet("g")); in testOf_tailSet() 334 assertTrue(set.tailSet("california") instanceof ImmutableSortedSet); in testExplicit_tailSet() [all …]
|
D | ContiguousSetTest.java | 128 assertThat(set.tailSet(Integer.MIN_VALUE)).has().exactly(1, 2, 3).inOrder(); in testTailSet() 129 assertThat(set.tailSet(1)).has().exactly(1, 2, 3).inOrder(); in testTailSet() 130 assertThat(set.tailSet(2)).has().exactly(2, 3).inOrder(); in testTailSet() 131 assertThat(set.tailSet(3)).has().item(3); in testTailSet() 132 assertThat(set.tailSet(Integer.MIN_VALUE, false)).has().exactly(1, 2, 3).inOrder(); in testTailSet() 133 assertThat(set.tailSet(1, false)).has().exactly(2, 3).inOrder(); in testTailSet() 134 assertThat(set.tailSet(2, false)).has().item(3); in testTailSet() 135 assertThat(set.tailSet(3, false)).isEmpty(); in testTailSet() 139 assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).tailSet(4)).isEmpty(); in testTailSet_tooLarge()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | SafeTreeSet.java | 182 @Override public SortedSet<E> tailSet(E fromElement) { in tailSet() method in SafeTreeSet 183 return tailSet(fromElement, true); in tailSet() 186 @Override public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() method in SafeTreeSet 187 return new SafeTreeSet<E>(delegate.tailSet(checkValid(fromElement), inclusive)); in tailSet()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableSortedSet.java | 323 Iterator<E> iterator = tailSet(e).iterator(); in higher() 362 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive); in subSet() 365 public ImmutableSortedSet<E> tailSet(E fromElement) { in tailSet() method in ImmutableSortedSet 368 return unsafeDelegateSortedSet(sortedDelegate.tailSet(fromElement), true); in tailSet() 374 ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) { in tailSet() method in ImmutableSortedSet 383 return tailSet(fromElement); in tailSet()
|
D | SortedMultisets.java | 69 @Override public SortedSet<E> tailSet(E fromElement) { in tailSet() method in SortedMultisets.ElementSet
|
D | ContiguousSet.java | 94 @Override public ContiguousSet<C> tailSet(C fromElement) { in tailSet() method in ContiguousSet
|
/external/jline/src/src/main/java/jline/ |
D | SimpleCompletor.java | 99 SortedSet matches = candidates.tailSet(start); in complete()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
D | SetGenerators.java | 116 .tailSet("\0\0"); in create() 310 return checkedCreate(set).tailSet(tooLow + 1); in create()
|
/external/smali/util/src/main/java/org/jf/util/ |
D | ArraySortedSet.java | 146 public SortedSet<T> tailSet(T fromElement) { in tailSet() method in ArraySortedSet
|