/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
H A D | TreeMapExtendTest.java | 3915 Set entrySet, headSet; 3928 headSet = descendingSubMapEntrySet.headSet(entry); 3929 headSetIterator = headSet.iterator(); 3941 headSet = descendingSubMapEntrySet.headSet(entry, false); 3942 headSetIterator = headSet.iterator(); 3954 headSet = descendingSubMapEntrySet.headSet(entry, true); 3955 headSetIterator = headSet [all...] |
H A D | TreeSetTest.java | 192 * @tests java.util.TreeSet#headSet(java.lang.Object) 196 // java.util.TreeSet.headSet(java.lang.Object) 197 Set s = ts.headSet(new Integer(100));
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | ContiguousSet.java | 42 @Override public ContiguousSet<C> headSet(C toElement) { method in class:ContiguousSet 43 return headSet(checkNotNull(toElement), false); 46 @Override ContiguousSet<C> headSet(C toElement, boolean inclusive) { method in class:ContiguousSet 74 * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
|
H A D | ForwardingSortedSet.java | 76 public SortedSet<E> headSet(E toElement) { method in class:ForwardingSortedSet 77 return delegate().headSet(toElement); 157 * terms of {@link #headSet(Object)} and {@link #tailSet(Object)}. In some 164 return tailSet(fromElement).headSet(toElement);
|
H A D | ImmutableSortedSet.java | 51 * <p>The sets returned by the {@link #headSet}, {@link #tailSet}, and 590 * <p>The {@link SortedSet#headSet} documentation states that a subset of a 597 public ImmutableSortedSet<E> headSet(E toElement) { method in class:ImmutableSortedSet 598 return headSet(toElement, false); 601 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { method in class:ImmutableSortedSet 652 * These methods perform most headSet, subSet, and tailSet logic, besides
|
H A D | SortedMultisets.java | 55 @Override public SortedSet<E> headSet(E toElement) { method in class:SortedMultisets.ElementSet
|
H A D | StandardRowSortedTable.java | 96 public SortedSet<R> headSet(R toElement) { method in class:StandardRowSortedTable.RowKeySortedSet
|
H A D | Constraints.java | 175 @Override public SortedSet<E> headSet(E toElement) { method in class:Constraints.ConstrainedSortedSet 176 return constrainedSortedSet(delegate.headSet(toElement), constraint);
|
H A D | AbstractMultimap.java | 684 public SortedSet<V> headSet(V toElement) { method in class:AbstractMultimap.WrappedSortedSet 687 getKey(), getSortedSetDelegate().headSet(toElement), 970 public SortedSet<K> headSet(K toElement) { method in class:AbstractMultimap.SortedKeySet
|
H A D | Sets.java | 856 public SortedSet<E> headSet(E toElement) { method in class:Sets.FilteredSortedSet 857 return new FilteredSortedSet<E>(((SortedSet<E>) unfiltered).headSet(toElement), predicate); 878 sortedUnfiltered = sortedUnfiltered.headSet(element);
|
H A D | Synchronized.java | 267 public SortedSet<E> headSet(E toElement) { method in class:Synchronized.SynchronizedSortedSet 269 return sortedSet(delegate().headSet(toElement), mutex);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ContiguousSetTest.java | 106 ASSERT.that(set.headSet(1)).isEmpty(); 107 ASSERT.that(set.headSet(2)).hasContentsInOrder(1); 108 ASSERT.that(set.headSet(3)).hasContentsInOrder(1, 2); 109 ASSERT.that(set.headSet(4)).hasContentsInOrder(1, 2, 3); 110 ASSERT.that(set.headSet(Integer.MAX_VALUE)).hasContentsInOrder(1, 2, 3); 111 ASSERT.that(set.headSet(1, true)).hasContentsInOrder(1); 112 ASSERT.that(set.headSet(2, true)).hasContentsInOrder(1, 2); 113 ASSERT.that(set.headSet(3, true)).hasContentsInOrder(1, 2, 3); 114 ASSERT.that(set.headSet(4, true)).hasContentsInOrder(1, 2, 3); 115 ASSERT.that(set.headSet(Intege [all...] |
H A D | ImmutableSortedSetTest.java | 120 assertSame(set, set.headSet("c")); 165 assertTrue(set.headSet("g") instanceof ImmutableSortedSet); 166 ASSERT.that(set.headSet("g")).hasContentsInOrder("e"); 167 assertSame(of(), set.headSet("c")); 168 assertSame(of(), set.headSet("e")); 267 assertTrue(set.headSet("e") instanceof ImmutableSortedSet); 268 ASSERT.that(set.headSet("e")).hasContentsInOrder("b", "c", "d"); 269 ASSERT.that(set.headSet("g")).hasContentsInOrder("b", "c", "d", "e", "f"); 270 assertSame(of(), set.headSet("a")); 271 assertSame(of(), set.headSet(" [all...] |
H A D | ForwardingSortedSetTest.java | 155 forward().headSet("asdf"); 156 assertEquals("[headSet(Object)]", getCalls());
|
H A D | TreeMultimapExplicitTest.java | 189 assertEquals(Sets.newHashSet(null, "tree"), keySet.headSet("yahoo"));
|
H A D | ImmutableSetCollectionTest.java | 140 ImmutableSortedSet.copyOf(list).headSet("zzy"));
|
H A D | TreeMultimapNaturalTest.java | 155 Set<Integer> fooSet = multimap.get("foo").headSet(4); 157 Set<Integer> missingSet = multimap.get("missing").headSet(4); 272 assertEquals(ImmutableSet.of("foo", "google"), keySet.headSet("hi"));
|
H A D | ConstraintsTest.java | 163 constrained.headSet("bar").add(TEST_ELEMENT);
|
H A D | TreeMultisetTest.java | 142 ASSERT.that(elementSet.headSet("b")).hasContentsInOrder("a");
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
H A D | SafeTreeSet.java | 118 @Override public SortedSet<E> headSet(E toElement) { method in class:SafeTreeSet 119 return headSet(toElement, false); 122 @Override public NavigableSet<E> headSet(E toElement, boolean inclusive) { method in class:SafeTreeSet 124 delegate.headSet(checkValid(toElement), inclusive));
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | ImmutableSortedSet.java | 296 public ImmutableSortedSet<E> headSet(E toElement) { method in class:ImmutableSortedSet 299 return unsafeDelegateSortedSet(sortedDelegate.headSet(toElement), true); 317 ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) { method in class:ImmutableSortedSet 326 return headSet(toElement); 346 return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive);
|
H A D | Sets.java | 844 public SortedSet<E> headSet(E toElement) { method in class:Sets.FilteredSortedSet 845 return new FilteredSortedSet<E>(((SortedSet<E>) unfiltered).headSet(toElement), predicate); 866 sortedUnfiltered = sortedUnfiltered.headSet(element);
|
H A D | Synchronized.java | 254 public SortedSet<E> headSet(E toElement) { method in class:Synchronized.SynchronizedSortedSet 256 return sortedSet(delegate().headSet(toElement), mutex);
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
H A D | AreaCodeMap.java | 168 currentSetOfLengths = currentSetOfLengths.headSet(possibleLength);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
H A D | SetGenerators.java | 98 .headSet("zzy");
|