HomeSort by relevance Sort by last modified time
    Searched defs:subSet (Results 1 - 25 of 48) sorted by null

1 2

  /libcore/luni/src/main/java/java/util/
SortedSet.java 58 * @return a subset where the elements are less than {@code end}.
61 * SubSet.
89 * @return a subset where the elements are greater or equal to {@code start}
93 * for this SubSet.
100 public SortedSet<E> subSet(E start, E end);
110 * @return a subset where the elements are greater or equal to {@code start} .
113 * SubSet.
NavigableSet.java 27 * null}. Methods {@code subSet}, {@code headSet},
43 * {@link #subSet(Object, Object) subSet(E, E)},
197 NavigableSet<E> subSet(E fromElement, boolean fromInclusive,
261 * <p>Equivalent to {@code subSet(fromElement, true, toElement, false)}.
267 SortedSet<E> subSet(E fromElement, E toElement);
TreeSet.java 351 * @see java.util.NavigableSet#subSet(Object, boolean, Object, boolean)
355 public NavigableSet<E> subSet(E start, boolean startInclusive, E end,
413 * @return a subset where the elements are greater or equal to
424 public SortedSet<E> subSet(E start, E end) {
425 return subSet(start, true, end, false);
435 * @return a subset where the elements are less than <code>end</code>
457 * @return a subset where the elements are greater or equal to
  /external/guava/guava/src/com/google/common/collect/
ContiguousSet.java 50 @Override public ContiguousSet<C> subSet(C fromElement, C toElement) {
54 return subSet(fromElement, true, toElement, false);
57 @Override ContiguousSet<C> subSet(C fromElement, boolean fromInclusive, C toElement,
74 * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
ForwardingSortedSet.java 86 public SortedSet<E> subSet(E fromElement, E toElement) {
87 return delegate().subSet(fromElement, toElement);
156 * A sensible default implementation of {@link #subSet(Object, Object)} in
158 * situations, you may wish to override {@link #subSet(Object, Object)} to
StandardRowSortedTable.java 103 public SortedSet<R> subSet(R fromElement, R toElement) {
Constraints.java 178 @Override public SortedSet<E> subSet(E fromElement, E toElement) {
180 delegate.subSet(fromElement, toElement), constraint);
SortedMultisets.java 50 @Override public SortedSet<E> subSet(E fromElement, E toElement) {
ImmutableSortedSet.java 52 * {@link #subSet} methods share the same array as the original set, preventing
590 * <p>The {@link SortedSet#headSet} documentation states that a subset of a
591 * subset throws an {@link IllegalArgumentException} if passed a
610 * <p>The {@link SortedSet#subSet} documentation states that a subset of a
611 * subset throws an {@link IllegalArgumentException} if passed a
619 public ImmutableSortedSet<E> subSet(E fromElement, E toElement) {
620 return subSet(fromElement, true, toElement, false);
623 ImmutableSortedSet<E> subSet(
636 * <p>The {@link SortedSet#tailSet} documentation states that a subset of
    [all...]
Synchronized.java 260 public SortedSet<E> subSet(E fromElement, E toElement) {
262 return sortedSet(delegate().subSet(fromElement, toElement), mutex);
AbstractMultimap.java 692 public SortedSet<V> subSet(V fromElement, V toElement) {
695 getKey(), getSortedSetDelegate().subSet(fromElement, toElement),
980 public SortedSet<K> subSet(K fromElement, K toElement) {
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
TreeSetTest.java 59 final SortedSet<String> subSet = set.subSet("a", "c");
60 new SerializationTester<SortedSet<String>>(subSet, s) {
62 assertBounded(deserialized, deserialized == subSet);
77 final SortedSet<String> subSet = set.subSet("a", false, "c", true);
78 new SerializationTester<SortedSet<String>>(subSet, s) {
80 assertBounded(deserialized, deserialized == subSet);
OldTreeSetTest.java 181 // java.util.TreeSet.subSet(java.lang.Object, java.lang.Object)
184 SortedSet aSubSet = ts.subSet(objArray[startPos], objArray[endPos]);
185 assertTrue("Subset has wrong number of elements",
188 assertTrue("Subset does not contain all the elements it should",
192 ts.subSet(objArray[3], objArray[0]);
199 ts.subSet(null, objArray[3]);
206 ts.subSet(objArray[3], null);
213 ts.subSet(objArray[3], this);
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingSortedSetTest.java 100 @Override public SortedSet<T> subSet(T fromElement, T toElement) {
165 forward().subSet("first", "last");
166 assertEquals("[subSet(Object,Object)]", getCalls());
TreeMultimapNaturalTest.java 183 Set<Integer> fooSet = multimap.get("foo").subSet(2, 6);
274 assertEquals(ImmutableSet.of("google"), keySet.subSet("gap", "hi"));
280 SortedSet<String> subSet = keySet.subSet("gap", "hi");
282 assertEquals(1, subSet.size());
283 assertTrue(subSet.contains("google"));
284 assertFalse(subSet.contains("foo"));
285 assertTrue(subSet.containsAll(Collections.singleton("google")));
286 assertFalse(subSet.containsAll(Collections.singleton("foo")));
288 Iterator<String> iterator = subSet.iterator()
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedSet.java 200 // a subset of another, to avoid memory leak.
333 public ImmutableSortedSet<E> subSet(E fromElement, E toElement) {
334 return subSet(fromElement, true, toElement, false);
337 ImmutableSortedSet<E> subSet(E fromElement, boolean fromInclusive, E toElement,
Synchronized.java 247 public SortedSet<E> subSet(E fromElement, E toElement) {
249 return sortedSet(delegate().subSet(fromElement, toElement), mutex);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
SafeTreeSet.java 171 @Override public NavigableSet<E> subSet(
174 delegate.subSet(checkValid(fromElement), fromInclusive,
178 @Override public SortedSet<E> subSet(E fromElement, E toElement) {
179 return subSet(fromElement, true, toElement, false);
  /libcore/luni/src/main/java/java/util/concurrent/
ConcurrentSkipListSet.java 373 public NavigableSet<E> subSet(E fromElement,
406 public NavigableSet<E> subSet(E fromElement, E toElement) {
407 return subSet(fromElement, true, toElement, false);
ConcurrentSkipListMap.java     [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
TreeSetTest.java 263 * @tests java.util.TreeSet#subSet(java.lang.Object, java.lang.Object)
267 // java.util.TreeSet.subSet(java.lang.Object, java.lang.Object)
270 SortedSet aSubSet = ts.subSet(objArray[startPos], objArray[endPos]);
271 assertTrue("Subset has wrong number of elements",
274 assertTrue("Subset does not contain all the elements it should",
279 ts.subSet(objArray[3], objArray[0]);
  /prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar 
  /external/droiddriver/libs/
guava-13.0.jar 
  /prebuilts/devtools/tools/lib/
guava-13.0.1.jar 
  /prebuilts/tools/common/guava-tools/
guava-13.0.1.jar 

Completed in 87 milliseconds

1 2