/external/guava/guava/src/com/google/common/collect/ |
FluentIterable.java | 34 import java.util.SortedSet; 309 if (iterable instanceof SortedSet) { 310 SortedSet<E> sortedSet = (SortedSet<E>) iterable; 311 return Optional.of(sortedSet.last());
|
Range.java | 30 import java.util.SortedSet; 469 if (values instanceof SortedSet) { 470 SortedSet<? extends C> set = cast(values); 669 private static <T> SortedSet<T> cast(Iterable<T> iterable) { 670 return (SortedSet<T>) iterable;
|
Multimaps.java | 47 import java.util.SortedSet; 314 * {@link SortedSet} classes. 349 final Supplier<? extends SortedSet<V>> factory) { 355 transient Supplier<? extends SortedSet<V>> factory; 359 Supplier<? extends SortedSet<V>> factory) { 365 @Override protected SortedSet<V> createCollection() { 386 factory = (Supplier<? extends SortedSet<V>>) stream.readObject(); 622 * Note that this doesn't return a SortedSet when delegate is a 623 * SortedSetMultiset, unlike (SortedSet<V>) super.get(). 648 @Override public SortedSet<V> get(K key) [all...] |
SortedMultiset.java | 85 * @since 14.0 (present with return type {@code SortedSet} since 11.0)
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
FluentIterable.java | 33 import java.util.SortedSet; 297 if (iterable instanceof SortedSet) { 298 SortedSet<E> sortedSet = (SortedSet<E>) iterable; 299 return Optional.of(sortedSet.last());
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
ConcurrentSkipListSetTest.java | 18 import java.util.SortedSet; 549 SortedSet sm = set.subSet(two, four); 580 SortedSet sm = set.subSet(two, three); 610 SortedSet sm = set.headSet(four); 636 SortedSet sm = set.tailSet(two); 654 SortedSet ssm = sm.tailSet(four);
|
TreeSetTest.java | 18 import java.util.SortedSet; 552 SortedSet sm = set.subSet(two, four); 583 SortedSet sm = set.subSet(two, three); 613 SortedSet sm = set.headSet(four); 639 SortedSet sm = set.tailSet(two); 657 SortedSet ssm = sm.tailSet(four);
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldCollectionsTest.java | 35 import java.util.SortedSet; 194 * java.util.Collections#synchronizedSortedSet(java.util.SortedSet) 259 * java.util.Collections#unmodifiableSortedSet(java.util.SortedSet) 718 && (a instanceof SortedSet == b instanceof SortedSet) 840 SortedSet ss = Collections.checkedSortedSet(ts, Integer.class);
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
IterablesTest.java | 46 import java.util.SortedSet; 758 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a"); 759 assertEquals("c", Iterables.getLast(sortedSet)); 821 SortedSet<String> sortedSet = ImmutableSortedSet.of(); 823 Iterables.getLast(sortedSet); [all...] |
MultimapsTest.java | 53 import java.util.SortedSet; 310 Map<String, SortedSet<Integer>> map = Multimaps.asMap(sortedSetMultimap); 542 assertFalse(multimap.keySet() instanceof SortedSet); 567 assertTrue(multimap.keySet() instanceof SortedSet);
|
SetsTest.java | 52 import java.util.SortedSet; 695 * Utility method to verify that the given SortedSet is equal to and 701 SortedSet<E> set, Iterable<E> iterable, 767 void ensureNotDirectlyModifiable(SortedSet<Integer> unmod) {
|
MapsTest.java | 52 import java.util.SortedSet; 601 private final SortedSet<String> delegate = Sets.newTreeSet(); 604 protected SortedSet<String> delegate() { 615 SortedSet<String> strings = new NonNavigableSortedSet(); 634 SortedSet<String> strings = new NonNavigableSortedSet(); 662 SortedSet<String> strings = new NonNavigableSortedSet(); 696 SortedSet<String> strings = new NonNavigableSortedSet(); [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
MapsCollectionTest.java | 55 import java.util.SortedSet; 182 SortedSet<String> set = new NonNavigableSortedSet(); 214 .named("Maps.asMap[SortedSet, Function]") 585 private final SortedSet<String> delegate = Sets.newTreeSet(Ordering.natural()); 588 protected SortedSet<String> delegate() {
|
TreeMultimapNaturalTest.java | 55 import java.util.SortedSet; 495 if (m.getName().equals("keySet") && m.getReturnType().equals(SortedSet.class)) { 514 if (m.getName().equals("get") && m.getReturnType().equals(SortedSet.class)) {
|
IterablesTest.java | 52 import java.util.SortedSet; 843 SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a"); 844 assertEquals("c", Iterables.getLast(sortedSet)); 906 SortedSet<String> sortedSet = ImmutableSortedSet.of(); 908 Iterables.getLast(sortedSet); [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentSkipListSet.java | 18 import java.util.SortedSet; 124 public ConcurrentSkipListSet(SortedSet<E> s) { 359 /* ---------------- SortedSet operations -------------- */
|
/packages/providers/CallLogProvider/src/com/android/calllogbackup/ |
CallLogBackupAgent.java | 50 import java.util.SortedSet; 61 SortedSet<Integer> callIds; 201 SortedSet<Integer> callsToRemove = new TreeSet<>(state.callIds);
|
/external/jcommander/src/main/java/com/beust/jcommander/ |
ParameterDescription.java | 34 import java.util.SortedSet; 324 if (SortedSet.class.isAssignableFrom(type)) return new TreeSet();
|
/libcore/ojluni/src/main/java/java/util/ |
Collections.java | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.api.tools.ee.osgiminimum10_1.0.0.200901281111/org/eclipse/pde/api/tools/internal/api_stubs/ |
OSGi_Minimum-1.0.zip | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.api.tools.ee.osgiminimum11_1.0.0.200901281111/org/eclipse/pde/api/tools/internal/api_stubs/ |
OSGi_Minimum-1.1.zip | |
/external/guava/guava-testlib/test/com/google/common/testing/ |
FreshValueGeneratorTest.java | 106 import java.util.SortedSet; 339 assertFreshInstance(new TypeToken<SortedSet<String>>() {}); 343 new FreshValueGenerator().generate(new TypeToken<SortedSet<String>>() {})); 344 assertNotInstantiable(new TypeToken<SortedSet<EmptyEnum>>() {}); [all...] |
/external/jcommander/ |
CHANGELOG | 64 Fixed: Fields of type Set (HashSet and SortedSet) are now supported
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
PriorityQueueTest.java | 29 import java.util.SortedSet; 385 * java.util.PriorityQueue#PriorityQueue(SortedSet<? extends E>) 401 * java.util.PriorityQueue#PriorityQueue(SortedSet<? extends E>) 405 new PriorityQueue<Integer>((SortedSet<? extends Integer>) null);
|
/prebuilts/misc/common/swig/include/2.0.11/gcj/ |
javaprims.i | 315 class SortedSet;
|