Searched defs:sortedSet (Results 1 - 22 of 22) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
H A DSortedIterables.java52 // if sortedSet.comparator() is null, the set must be naturally ordered
53 public static <E> Comparator<? super E> comparator(SortedSet<E> sortedSet) { argument
54 Comparator<? super E> result = sortedSet.comparator();
H A DConstraints.java125 * @param sortedSet the sorted set to constrain
130 SortedSet<E> sortedSet, Constraint<? super E> constraint) {
131 return new ConstrainedSortedSet<E>(sortedSet, constraint);
129 constrainedSortedSet( SortedSet<E> sortedSet, Constraint<? super E> constraint) argument
H A DImmutableSortedSet.java393 * <p>This method is safe to use even when {@code sortedSet} is a synchronized
397 * @throws NullPointerException if {@code sortedSet} or any of its elements
400 public static <E> ImmutableSortedSet<E> copyOfSorted(SortedSet<E> sortedSet) { argument
401 Comparator<? super E> comparator = SortedIterables.comparator(sortedSet);
402 ImmutableList<E> list = ImmutableList.copyOf(sortedSet);
H A DSynchronized.java242 private static <E> SortedSet<E> sortedSet( method in class:Synchronized
267 return sortedSet(delegate().subSet(fromElement, toElement), mutex);
274 return sortedSet(delegate().headSet(toElement), mutex);
281 return sortedSet(delegate().tailSet(fromElement), mutex);
793 return sortedSet(delegate().get(key), mutex);
819 return sortedSet((SortedSet<E>) collection, mutex);
833 return sortedSet((SortedSet<E>) set, mutex);
/external/smali/util/src/main/java/org/jf/util/
H A DImmutableConverter.java146 @Nullable final SortedSet<? extends Item> sortedSet) {
147 if (sortedSet == null || sortedSet.size() == 0) {
152 ImmutableItem[] newItems = (ImmutableItem[])new Object[sortedSet.size()];
154 for (Item item: sortedSet) {
145 toSortedSet(@onnull Comparator<? super ImmutableItem> comparator, @Nullable final SortedSet<? extends Item> sortedSet) argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DSortedSetNavigationTester.java42 private SortedSet<E> sortedSet; field in class:SortedSetNavigationTester
50 sortedSet = (SortedSet<E>) getSet();
53 Collections.sort(values, sortedSet.comparator());
68 sortedSet.first();
77 sortedSet.last();
85 assertEquals(a, sortedSet.first());
90 assertEquals(a, sortedSet.last());
95 assertEquals(a, sortedSet.first());
100 assertEquals(c, sortedSet.last());
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DNavigableSetTestSuiteBuilder.java76 @Override NavigableSet<E> createSubSet(SortedSet<E> sortedSet, E firstExclusive, argument
78 NavigableSet<E> set = (NavigableSet<E>) sortedSet;
/external/guava/guava-tests/benchmark/com/google/common/collect/
H A DSortedCopyBenchmark.java118 int sortedSet(int reps) { method in class:SortedCopyBenchmark
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableSortedSet.java171 public static <E> ImmutableSortedSet<E> copyOfSorted(SortedSet<E> sortedSet) { argument
172 Comparator<? super E> comparator = sortedSet.comparator();
176 return copyOfInternal(comparator, sortedSet.iterator());
218 SortedSet<?> sortedSet = (SortedSet<?>) elements;
219 Comparator<?> comparator2 = sortedSet.comparator();
H A DSynchronized.java226 private static <E> SortedSet<E> sortedSet( method in class:Synchronized
251 return sortedSet(delegate().subSet(fromElement, toElement), mutex);
258 return sortedSet(delegate().headSet(toElement), mutex);
265 return sortedSet(delegate().tailSet(fromElement), mutex);
777 return sortedSet(delegate().get(key), mutex);
803 return sortedSet((SortedSet<E>) collection, mutex);
817 return sortedSet((SortedSet<E>) set, mutex);
/external/guava/guava-testlib/test/com/google/common/testing/
H A DNullPointerTesterTest.java853 SortedSet<Number> sortedSet,
868 sortedSet, immutableSortedSet,
843 checkDefaultValuesForTheseTypes( Gender gender, Integer integer, int i, String string, CharSequence charSequence, List<String> list, ImmutableList<Integer> immutableList, Map<String, Integer> map, ImmutableMap<String, String> immutableMap, Set<String> set, ImmutableSet<Integer> immutableSet, SortedSet<Number> sortedSet, ImmutableSortedSet<Number> immutableSortedSet, Multiset<String> multiset, ImmutableMultiset<Integer> immutableMultiset, Multimap<String, Integer> multimap, ImmutableMultimap<String, Integer> immutableMultimap, Table<String, Integer, Exception> table, ImmutableTable<Integer, String, Exception> immutableTable) argument
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/guice/lib/build/
H A Dguava-testlib-16.0.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/testng/ant/3rdparty/
H A Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data.hdf assets/templates/assets/ ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/dagger2/lib/
H A Dauto-value-1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/auto/ com/google/auto/value/ ...
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/v8/src/inspector/build/closure-compiler/
H A Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/guice/extensions/persist/lib/
H A Dhibernate3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/hibernate/AssertionFailure.class AssertionFailure. ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 1256 milliseconds