/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | SynchronizedNavigableSetTest.java | 87 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in SynchronizedNavigableSetTest.TestSet 89 return delegate().headSet(toElement, inclusive); in headSet() 93 public SortedSet<E> headSet(E toElement) { in headSet() method in SynchronizedNavigableSetTest.TestSet 94 return headSet(toElement, false); in headSet() 205 SortedSet<String> headSet = map.headSet("a"); in testHeadSet_E() local 206 assertTrue(headSet instanceof SynchronizedSortedSet); in testHeadSet_E() 207 assertSame(MUTEX, ((SynchronizedSortedSet<String>) headSet).mutex); in testHeadSet_E() 212 NavigableSet<String> headSet = map.headSet("a", true); in testHeadSet_E_B() local 213 assertTrue(headSet instanceof SynchronizedNavigableSet); in testHeadSet_E_B() 214 assertSame(MUTEX, ((SynchronizedNavigableSet<String>) headSet).mutex); in testHeadSet_E_B()
|
D | ContiguousSetTest.java | 188 assertThat(set.headSet(1)).isEmpty(); in testHeadSet() 189 assertThat(set.headSet(2)).containsExactly(1).inOrder(); in testHeadSet() 190 assertThat(set.headSet(3)).containsExactly(1, 2).inOrder(); in testHeadSet() 191 assertThat(set.headSet(4)).containsExactly(1, 2, 3).inOrder(); in testHeadSet() 192 assertThat(set.headSet(Integer.MAX_VALUE)).containsExactly(1, 2, 3).inOrder(); in testHeadSet() 193 assertThat(set.headSet(1, true)).containsExactly(1).inOrder(); in testHeadSet() 194 assertThat(set.headSet(2, true)).containsExactly(1, 2).inOrder(); in testHeadSet() 195 assertThat(set.headSet(3, true)).containsExactly(1, 2, 3).inOrder(); in testHeadSet() 196 assertThat(set.headSet(4, true)).containsExactly(1, 2, 3).inOrder(); in testHeadSet() 197 assertThat(set.headSet(Integer.MAX_VALUE, true)).containsExactly(1, 2, 3).inOrder(); in testHeadSet() [all …]
|
D | ImmutableSortedSetTest.java | 244 assertSame(set, set.headSet("c")); in testEmpty_headSet() 289 assertTrue(set.headSet("g") instanceof ImmutableSortedSet); in testSingle_headSet() 290 assertThat(set.headSet("g")).contains("e"); in testSingle_headSet() 291 assertSame(of(), set.headSet("c")); in testSingle_headSet() 292 assertSame(of(), set.headSet("e")); in testSingle_headSet() 392 assertTrue(set.headSet("e") instanceof ImmutableSortedSet); in testOf_headSet() 393 assertThat(set.headSet("e")).containsExactly("b", "c", "d").inOrder(); in testOf_headSet() 394 assertThat(set.headSet("g")).containsExactly("b", "c", "d", "e", "f").inOrder(); in testOf_headSet() 395 assertSame(of(), set.headSet("a")); in testOf_headSet() 396 assertSame(of(), set.headSet("b")); in testOf_headSet() [all …]
|
D | FilteredCollectionsTest.java | 254 filter((C) createUnfiltered(contents).headSet(i), EVEN), in testHeadSet() 255 filter(createUnfiltered(contents), EVEN).headSet(i)); in testHeadSet() 293 filter(createUnfiltered(contents).headSet(i, inclusive), EVEN), in testNavigableHeadSet() 294 filter(createUnfiltered(contents), EVEN).headSet(i, inclusive)); in testNavigableHeadSet()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | SynchronizedNavigableSetTest.java | 87 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in SynchronizedNavigableSetTest.TestSet 89 return delegate().headSet(toElement, inclusive); in headSet() 93 public SortedSet<E> headSet(E toElement) { in headSet() method in SynchronizedNavigableSetTest.TestSet 94 return headSet(toElement, false); in headSet() 206 SortedSet<String> headSet = set.headSet("a"); in testHeadSet_E() local 207 assertTrue(headSet instanceof SynchronizedSortedSet); in testHeadSet_E() 208 assertSame(set, ((SynchronizedSortedSet<String>) headSet).mutex); in testHeadSet_E() 213 NavigableSet<String> headSet = set.headSet("a", true); in testHeadSet_E_B() local 214 assertTrue(headSet instanceof SynchronizedNavigableSet); in testHeadSet_E_B() 215 assertSame(set, ((SynchronizedNavigableSet<String>) headSet).mutex); in testHeadSet_E_B()
|
D | ContiguousSetTest.java | 188 assertThat(set.headSet(1)).isEmpty(); in testHeadSet() 189 assertThat(set.headSet(2)).containsExactly(1).inOrder(); in testHeadSet() 190 assertThat(set.headSet(3)).containsExactly(1, 2).inOrder(); in testHeadSet() 191 assertThat(set.headSet(4)).containsExactly(1, 2, 3).inOrder(); in testHeadSet() 192 assertThat(set.headSet(Integer.MAX_VALUE)).containsExactly(1, 2, 3).inOrder(); in testHeadSet() 193 assertThat(set.headSet(1, true)).containsExactly(1).inOrder(); in testHeadSet() 194 assertThat(set.headSet(2, true)).containsExactly(1, 2).inOrder(); in testHeadSet() 195 assertThat(set.headSet(3, true)).containsExactly(1, 2, 3).inOrder(); in testHeadSet() 196 assertThat(set.headSet(4, true)).containsExactly(1, 2, 3).inOrder(); in testHeadSet() 197 assertThat(set.headSet(Integer.MAX_VALUE, true)).containsExactly(1, 2, 3).inOrder(); in testHeadSet() [all …]
|
D | ImmutableSortedSetTest.java | 248 assertSame(set, set.headSet("c")); in testEmpty_headSet() 293 assertTrue(set.headSet("g") instanceof ImmutableSortedSet); in testSingle_headSet() 294 assertThat(set.headSet("g")).contains("e"); in testSingle_headSet() 295 assertSame(of(), set.headSet("c")); in testSingle_headSet() 296 assertSame(of(), set.headSet("e")); in testSingle_headSet() 396 assertTrue(set.headSet("e") instanceof ImmutableSortedSet); in testOf_headSet() 397 assertThat(set.headSet("e")).containsExactly("b", "c", "d").inOrder(); in testOf_headSet() 398 assertThat(set.headSet("g")).containsExactly("b", "c", "d", "e", "f").inOrder(); in testOf_headSet() 399 assertSame(of(), set.headSet("a")); in testOf_headSet() 400 assertSame(of(), set.headSet("b")); in testOf_headSet() [all …]
|
D | FilteredCollectionsTest.java | 269 filter((C) createUnfiltered(contents).headSet(i), EVEN), in testHeadSet() 270 filter(createUnfiltered(contents), EVEN).headSet(i)); in testHeadSet() 308 filter(createUnfiltered(contents).headSet(i, inclusive), EVEN), in testNavigableHeadSet() 309 filter(createUnfiltered(contents), EVEN).headSet(i, inclusive)); in testNavigableHeadSet()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | ForwardingNavigableSet.java | 77 return Iterators.getNext(headSet(e, false).descendingIterator(), null); in standardLower() 93 return Iterators.getNext(headSet(e, true).descendingIterator(), null); in standardFloor() 217 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive); in standardSubSet() 233 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { in headSet() method in ForwardingNavigableSet 234 return delegate().headSet(toElement, inclusive); in headSet() 243 return headSet(toElement, false); in standardHeadSet()
|
D | ForwardingSortedSet.java | 81 public SortedSet<E> headSet(@ParametricNullness E toElement) { in headSet() method in ForwardingSortedSet 82 return delegate().headSet(toElement); in headSet() 160 return tailSet(fromElement).headSet(toElement); in standardSubSet()
|
D | Sets.java | 1106 public SortedSet<E> headSet(@ParametricNullness E toElement) { 1107 return new FilteredSortedSet<E>(((SortedSet<E>) unfiltered).headSet(toElement), predicate); 1130 sortedUnfiltered = sortedUnfiltered.headSet(element); 1149 return Iterators.find(unfiltered().headSet(e, false).descendingIterator(), predicate, null); 1155 return Iterators.find(unfiltered().headSet(e, true).descendingIterator(), predicate, null); 1209 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { 1210 return filter(unfiltered().headSet(toElement, inclusive), predicate); 1821 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { 1822 return unmodifiableNavigableSet(delegate.headSet(toElement, inclusive)); 1986 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { [all …]
|
D | ImmutableSortedSet.java | 555 public ImmutableSortedSet<E> headSet(E toElement) { in headSet() method in ImmutableSortedSet 556 return headSet(toElement, false); in headSet() 561 public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in ImmutableSortedSet 630 return Iterators.getNext(headSet(e, false).descendingIterator(), null); in lower() 637 return Iterators.getNext(headSet(e, true).descendingIterator(), null); in floor()
|
D | ContiguousSet.java | 158 public ContiguousSet<C> headSet(C toElement) { in headSet() method in ContiguousSet 165 public ContiguousSet<C> headSet(C toElement, boolean inclusive) { in headSet() method in ContiguousSet
|
D | SortedMultisets.java | 75 public SortedSet<E> headSet(@ParametricNullness E toElement) { in headSet() method in SortedMultisets.ElementSet 165 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { in headSet() method in SortedMultisets.NavigableElementSet
|
D | AbstractMapBasedMultimap.java | 651 public SortedSet<V> headSet(@ParametricNullness V toElement) { in headSet() method in AbstractMapBasedMultimap.WrappedSortedSet 655 getSortedSetDelegate().headSet(toElement), in headSet() 753 public NavigableSet<V> headSet(@ParametricNullness V toElement, boolean inclusive) { in headSet() method in AbstractMapBasedMultimap.WrappedNavigableSet 754 return wrap(getSortedSetDelegate().headSet(toElement, inclusive)); in headSet() 1031 public SortedSet<K> headSet(@ParametricNullness K toElement) { in headSet() method in SortedKeySet 1110 public NavigableSet<K> headSet(@ParametricNullness K toElement) { in headSet() method in NavigableKeySet 1111 return headSet(toElement, false); in headSet() 1115 public NavigableSet<K> headSet(@ParametricNullness K toElement, boolean inclusive) { in headSet() method in NavigableKeySet
|
/external/guava/guava/src/com/google/common/collect/ |
D | ForwardingNavigableSet.java | 77 return Iterators.getNext(headSet(e, false).descendingIterator(), null); in standardLower() 93 return Iterators.getNext(headSet(e, true).descendingIterator(), null); in standardFloor() 217 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive); in standardSubSet() 233 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { in headSet() method in ForwardingNavigableSet 234 return delegate().headSet(toElement, inclusive); in headSet() 243 return headSet(toElement, false); in standardHeadSet()
|
D | ForwardingSortedSet.java | 81 public SortedSet<E> headSet(@ParametricNullness E toElement) { in headSet() method in ForwardingSortedSet 82 return delegate().headSet(toElement); in headSet() 160 return tailSet(fromElement).headSet(toElement); in standardSubSet()
|
D | Sets.java | 1164 public SortedSet<E> headSet(@ParametricNullness E toElement) { 1165 return new FilteredSortedSet<E>(((SortedSet<E>) unfiltered).headSet(toElement), predicate); 1188 sortedUnfiltered = sortedUnfiltered.headSet(element); 1207 return Iterators.find(unfiltered().headSet(e, false).descendingIterator(), predicate, null); 1213 return Iterators.find(unfiltered().headSet(e, true).descendingIterator(), predicate, null); 1267 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { 1268 return filter(unfiltered().headSet(toElement, inclusive), predicate); 1902 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { 1903 return unmodifiableNavigableSet(delegate.headSet(toElement, inclusive)); 2067 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { [all …]
|
D | ImmutableSortedSet.java | 623 public ImmutableSortedSet<E> headSet(E toElement) { in headSet() method in ImmutableSortedSet 624 return headSet(toElement, false); in headSet() 629 public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in ImmutableSortedSet 698 return Iterators.getNext(headSet(e, false).descendingIterator(), null); in lower() 705 return Iterators.getNext(headSet(e, true).descendingIterator(), null); in floor()
|
D | SortedMultisets.java | 75 public SortedSet<E> headSet(@ParametricNullness E toElement) { in headSet() method in SortedMultisets.ElementSet 165 public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { in headSet() method in SortedMultisets.NavigableElementSet
|
D | ContiguousSet.java | 158 public ContiguousSet<C> headSet(C toElement) { in headSet() method in ContiguousSet 165 public ContiguousSet<C> headSet(C toElement, boolean inclusive) { in headSet() method in ContiguousSet
|
D | AbstractMapBasedMultimap.java | 659 public SortedSet<V> headSet(@ParametricNullness V toElement) { in headSet() method in AbstractMapBasedMultimap.WrappedSortedSet 663 getSortedSetDelegate().headSet(toElement), in headSet() 761 public NavigableSet<V> headSet(@ParametricNullness V toElement, boolean inclusive) { in headSet() method in AbstractMapBasedMultimap.WrappedNavigableSet 762 return wrap(getSortedSetDelegate().headSet(toElement, inclusive)); in headSet() 1044 public SortedSet<K> headSet(@ParametricNullness K toElement) { in headSet() method in SortedKeySet 1123 public NavigableSet<K> headSet(@ParametricNullness K toElement) { in headSet() method in NavigableKeySet 1124 return headSet(toElement, false); in headSet() 1128 public NavigableSet<K> headSet(@ParametricNullness K toElement, boolean inclusive) { in headSet() method in NavigableKeySet
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | SafeTreeSet.java | 134 public SortedSet<E> headSet(E toElement) { in headSet() method in SafeTreeSet 135 return headSet(toElement, false); in headSet() 139 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in SafeTreeSet 140 return new SafeTreeSet<>(delegate.headSet(checkValid(toElement), inclusive)); in headSet()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/ |
D | SafeTreeSet.java | 134 public SortedSet<E> headSet(E toElement) { in headSet() method in SafeTreeSet 135 return headSet(toElement, false); in headSet() 139 public NavigableSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in SafeTreeSet 140 return new SafeTreeSet<>(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 | 301 public ImmutableSortedSet<E> headSet(E toElement) { in headSet() method in ImmutableSortedSet 304 return unsafeDelegateSortedSet(sortedDelegate.headSet(toElement), true); in headSet() 328 ImmutableSortedSet<E> set = headSet(e, true); in floor() 332 public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { in headSet() method in ImmutableSortedSet 341 return headSet(toElement); in headSet() 361 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive); in subSet()
|