/external/guava/guava-tests/test/com/google/common/collect/ |
D | SynchronizedNavigableSetTest.java | 85 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in SynchronizedNavigableSetTest.TestSet 87 return delegate().headSet(toElement, inclusive); in headSet() 90 @Override public SortedSet<E> headSet(E toElement) { in headSet() method in SynchronizedNavigableSetTest.TestSet 91 return headSet(toElement, false); in headSet() 186 SortedSet<String> headSet = map.headSet("a"); in testHeadSet_E() local 187 assertTrue(headSet instanceof SynchronizedSortedSet); in testHeadSet_E() 188 assertSame(MUTEX, ((SynchronizedSortedSet<String>) headSet).mutex); in testHeadSet_E() 193 NavigableSet<String> headSet = map.headSet("a", true); in testHeadSet_E_B() local 194 assertTrue(headSet instanceof SynchronizedNavigableSet); in testHeadSet_E_B() 195 assertSame(MUTEX, ((SynchronizedNavigableSet<String>) headSet).mutex); in testHeadSet_E_B()
|
D | ContiguousSetTest.java | 148 assertThat(set.headSet(1)).isEmpty(); in testHeadSet() 149 assertThat(set.headSet(2)).has().item(1); in testHeadSet() 150 assertThat(set.headSet(3)).has().exactly(1, 2).inOrder(); in testHeadSet() 151 assertThat(set.headSet(4)).has().exactly(1, 2, 3).inOrder(); in testHeadSet() 152 assertThat(set.headSet(Integer.MAX_VALUE)).has().exactly(1, 2, 3).inOrder(); in testHeadSet() 153 assertThat(set.headSet(1, true)).has().item(1); in testHeadSet() 154 assertThat(set.headSet(2, true)).has().exactly(1, 2).inOrder(); in testHeadSet() 155 assertThat(set.headSet(3, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet() 156 assertThat(set.headSet(4, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet() 157 assertThat(set.headSet(Integer.MAX_VALUE, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet() [all …]
|
D | ImmutableSortedSetTest.java | 221 assertSame(set, set.headSet("c")); in testEmpty_headSet() 266 assertTrue(set.headSet("g") instanceof ImmutableSortedSet); in testSingle_headSet() 267 assertThat(set.headSet("g")).has().item("e"); in testSingle_headSet() 268 assertSame(of(), set.headSet("c")); in testSingle_headSet() 269 assertSame(of(), set.headSet("e")); in testSingle_headSet() 368 assertTrue(set.headSet("e") instanceof ImmutableSortedSet); in testOf_headSet() 369 assertThat(set.headSet("e")).has().exactly("b", "c", "d").inOrder(); in testOf_headSet() 370 assertThat(set.headSet("g")).has().exactly("b", "c", "d", "e", "f").inOrder(); in testOf_headSet() 371 assertSame(of(), set.headSet("a")); in testOf_headSet() 372 assertSame(of(), set.headSet("b")); in testOf_headSet() [all …]
|
D | FilteredCollectionsTest.java | 250 filter((C) createUnfiltered(contents).headSet(i), EVEN), in testHeadSet() 251 filter(createUnfiltered(contents), EVEN).headSet(i)); in testHeadSet() 289 filter(createUnfiltered(contents).headSet(i, inclusive), EVEN), in testNavigableHeadSet() 290 filter(createUnfiltered(contents), EVEN).headSet(i, inclusive)); in testNavigableHeadSet()
|
D | ForwardingNavigableSetTest.java | 137 public SortedSet<T> headSet(T toElement) { in headSet() method in ForwardingNavigableSetTest.StandardImplForwardingNavigableSet 239 forward().headSet("key", false); in testHeadSet_K_Boolean()
|
D | ImmutableRangeSetTest.java | 411 assertEquals(asSet.headSet(i, false), expectedSet.headSet(i, false)); in testAsSetHeadSet() 412 assertEquals(asSet.headSet(i, true), expectedSet.headSet(i, true)); in testAsSetHeadSet()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ForwardingNavigableSet.java | 67 return Iterators.getNext(headSet(e, false).descendingIterator(), null); in standardLower() 81 return Iterators.getNext(headSet(e, true).descendingIterator(), null); in standardFloor() 195 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive); in standardSubSet() 210 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in ForwardingNavigableSet 211 return delegate().headSet(toElement, inclusive); in headSet() 221 return headSet(toElement, false); in standardHeadSet()
|
D | ForwardingSortedSet.java | 76 public SortedSet<E> headSet(E toElement) { in headSet() method in ForwardingSortedSet 77 return delegate().headSet(toElement); in headSet() 164 return tailSet(fromElement).headSet(toElement); in standardSubSet()
|
D | Sets.java | 848 public SortedSet<E> headSet(E toElement) { 849 return new FilteredSortedSet<E>(((SortedSet<E>) unfiltered).headSet(toElement), predicate); 870 sortedUnfiltered = sortedUnfiltered.headSet(element); 936 return Iterators.getNext(headSet(e, false).descendingIterator(), null); 942 return Iterators.getNext(headSet(e, true).descendingIterator(), null); 988 public NavigableSet<E> headSet(E toElement, boolean inclusive) { 989 return filter(unfiltered().headSet(toElement, inclusive), predicate); 1473 public NavigableSet<E> headSet(E toElement, boolean inclusive) { 1474 return unmodifiableNavigableSet(delegate.headSet(toElement, inclusive)); 1628 public NavigableSet<E> headSet(E toElement, boolean inclusive) { [all …]
|
D | ImmutableSortedSet.java | 615 public ImmutableSortedSet<E> headSet(E toElement) { in headSet() method in ImmutableSortedSet 616 return headSet(toElement, false); in headSet() 624 public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in ImmutableSortedSet 701 return Iterators.getNext(headSet(e, false).descendingIterator(), null); in lower() 710 return Iterators.getNext(headSet(e, true).descendingIterator(), null); in floor()
|
D | ContiguousSet.java | 86 @Override public ContiguousSet<C> headSet(C toElement) { in headSet() method in ContiguousSet 94 @Override public ContiguousSet<C> headSet(C toElement, boolean inclusive) { in headSet() method in ContiguousSet
|
D | SortedMultisets.java | 68 @Override public SortedSet<E> headSet(E toElement) { in headSet() method in SortedMultisets.ElementSet 143 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in SortedMultisets.NavigableElementSet
|
D | AbstractMapBasedMultimap.java | 658 public SortedSet<V> headSet(V toElement) { in headSet() method in AbstractMapBasedMultimap.WrappedSortedSet 661 getKey(), getSortedSetDelegate().headSet(toElement), in headSet() 747 public NavigableSet<V> headSet(V toElement, boolean inclusive) { in headSet() method in AbstractMapBasedMultimap.WrappedNavigableSet 748 return wrap(getSortedSetDelegate().headSet(toElement, inclusive)); in headSet() 1002 public SortedSet<K> headSet(K toElement) { in headSet() method in SortedKeySet 1074 public NavigableSet<K> headSet(K toElement) { in headSet() method in NavigableKeySet 1075 return headSet(toElement, false); in headSet() 1079 public NavigableSet<K> headSet(K toElement, boolean inclusive) { in headSet() method in NavigableKeySet
|
D | Constraints.java | 147 @Override public SortedSet<E> headSet(E toElement) { in headSet() method in Constraints.ConstrainedSortedSet 148 return constrainedSortedSet(delegate.headSet(toElement), constraint); in headSet()
|
D | DescendingImmutableSortedSet.java | 59 return forward.headSet(fromElement, inclusive).descendingSet(); in tailSetImpl()
|
D | Maps.java | 870 return asMap(backingSet().headSet(toKey), function); 913 return asMap(set.headSet(toKey, inclusive), function); 1006 public SortedSet<E> headSet(E toElement) { 1007 return removeOnlySortedSet(super.headSet(toElement)); 1041 public SortedSet<E> headSet(E toElement) { 1042 return removeOnlySortedSet(super.headSet(toElement)); 1057 public NavigableSet<E> headSet(E toElement, boolean inclusive) { 1058 return removeOnlyNavigableSet(super.headSet(toElement, inclusive)); 2814 public SortedSet<K> headSet(K toElement) { 3552 public SortedSet<K> headSet(K toElement) { [all …]
|
D | Synchronized.java | 272 public SortedSet<E> headSet(E toElement) { in headSet() method in Synchronized.SynchronizedSortedSet 274 return sortedSet(delegate().headSet(toElement), mutex); in headSet() 1266 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { 1269 delegate().headSet(toElement, inclusive), mutex); 1312 @Override public SortedSet<E> headSet(E toElement) { 1313 return headSet(toElement, false);
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ContiguousSetTest.java | 110 assertThat(set.headSet(1)).isEmpty(); in testHeadSet() 111 assertThat(set.headSet(2)).has().item(1); in testHeadSet() 112 assertThat(set.headSet(3)).has().exactly(1, 2).inOrder(); in testHeadSet() 113 assertThat(set.headSet(4)).has().exactly(1, 2, 3).inOrder(); in testHeadSet() 114 assertThat(set.headSet(Integer.MAX_VALUE)).has().exactly(1, 2, 3).inOrder(); in testHeadSet() 115 assertThat(set.headSet(1, true)).has().item(1); in testHeadSet() 116 assertThat(set.headSet(2, true)).has().exactly(1, 2).inOrder(); in testHeadSet() 117 assertThat(set.headSet(3, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet() 118 assertThat(set.headSet(4, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet() 119 assertThat(set.headSet(Integer.MAX_VALUE, true)).has().exactly(1, 2, 3).inOrder(); in testHeadSet() [all …]
|
D | ImmutableSortedSetTest.java | 109 assertSame(set, set.headSet("c")); in testEmpty_headSet() 147 assertTrue(set.headSet("g") instanceof ImmutableSortedSet); in testSingle_headSet() 148 assertThat(set.headSet("g")).has().item("e"); in testSingle_headSet() 149 assertSame(of(), set.headSet("c")); in testSingle_headSet() 150 assertSame(of(), set.headSet("e")); in testSingle_headSet() 242 assertTrue(set.headSet("e") instanceof ImmutableSortedSet); in testOf_headSet() 243 assertThat(set.headSet("e")).has().exactly("b", "c", "d").inOrder(); in testOf_headSet() 244 assertThat(set.headSet("g")).has().exactly("b", "c", "d", "e", "f").inOrder(); in testOf_headSet() 245 assertSame(of(), set.headSet("a")); in testOf_headSet() 246 assertSame(of(), set.headSet("b")); in testOf_headSet() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | SafeTreeSet.java | 118 @Override public SortedSet<E> headSet(E toElement) { in headSet() method in SafeTreeSet 119 return headSet(toElement, false); in headSet() 122 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in SafeTreeSet 124 delegate.headSet(checkValid(toElement), inclusive)); in headSet()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableSortedSet.java | 312 public ImmutableSortedSet<E> headSet(E toElement) { in headSet() method in ImmutableSortedSet 315 return unsafeDelegateSortedSet(sortedDelegate.headSet(toElement), true); in headSet() 333 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in ImmutableSortedSet 342 return headSet(toElement); in headSet() 362 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive); in subSet()
|
D | SortedMultisets.java | 65 @Override public SortedSet<E> headSet(E toElement) { in headSet() method in SortedMultisets.ElementSet
|
D | ContiguousSet.java | 83 @Override public ContiguousSet<C> headSet(C toElement) { in headSet() method in ContiguousSet
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/ |
D | SetGenerators.java | 106 .headSet("zzy"); in create() 301 return checkedCreate(set).headSet(tooHigh); in create()
|
/external/smali/util/src/main/java/org/jf/util/ |
D | ArraySortedSet.java | 141 public SortedSet<T> headSet(T toElement) { in headSet() method in ArraySortedSet
|