/external/guava/guava/src/com/google/common/primitives/ |
Shorts.java | 32 import java.util.Comparator; 381 * Returns a comparator that compares two {@code short} arrays 388 * <p>The returned comparator is inconsistent with {@link 396 public static Comparator<short[]> lexicographicalComparator() { 400 private enum LexicographicalComparator implements Comparator<short[]> {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableListMultimap.java | 23 import java.util.Comparator; 196 public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { 207 public Builder<K, V> orderValuesBy(Comparator<? super V> valueComparator) {
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
Chars.java | 30 import java.util.Comparator; 325 * Returns a comparator that compares two {@code char} arrays 332 * <p>The returned comparator is inconsistent with {@link 340 public static Comparator<char[]> lexicographicalComparator() { 344 private enum LexicographicalComparator implements Comparator<char[]> {
|
Ints.java | 30 import java.util.Comparator; 328 * Returns a comparator that compares two {@code int} arrays 334 * <p>The returned comparator is inconsistent with {@link 342 public static Comparator<int[]> lexicographicalComparator() { 346 private enum LexicographicalComparator implements Comparator<int[]> {
|
Longs.java | 30 import java.util.Comparator; 301 * Returns a comparator that compares two {@code long} arrays 308 * <p>The returned comparator is inconsistent with {@link 316 public static Comparator<long[]> lexicographicalComparator() { 320 private enum LexicographicalComparator implements Comparator<long[]> {
|
Shorts.java | 30 import java.util.Comparator; 329 * Returns a comparator that compares two {@code short} arrays 336 * <p>The returned comparator is inconsistent with {@link 344 public static Comparator<short[]> lexicographicalComparator() { 348 private enum LexicographicalComparator implements Comparator<short[]> {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestsForSetsInJavaUtil.java | 30 import java.util.Comparator; 213 .named("TreeSet, with comparator") 326 static <T> Comparator<T> arbitraryNullFriendlyComparator() { 327 return new Comparator<T>() {
|
/external/junit/src/org/junit/runners/ |
ParentRunner.java | 9 import java.util.Comparator; 335 Collections.sort(getFilteredChildren(), comparator()); 363 private Comparator<? super T> comparator() { 364 return new Comparator<T>() {
|
/frameworks/base/services/java/com/android/server/search/ |
Searchables.java | 41 import java.util.Comparator; 331 private static final Comparator<ResolveInfo> GLOBAL_SEARCH_RANKER = 332 new Comparator<ResolveInfo>() {
|
/libcore/libart/src/main/java/java/lang/reflect/ |
Proxy.java | 24 import java.util.Comparator; 50 private static final Comparator<Method> ORDER_BY_SIGNATURE_AND_SUBTYPE = new Comparator<Method>() {
|
/libcore/libdvm/src/main/java/java/lang/reflect/ |
Method.java | 37 import java.util.Comparator; 55 public static final Comparator<Method> ORDER_BY_SIGNATURE = new Comparator<Method>() {
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
RequestHandler.java | 41 import java.util.Comparator;
148 private static final Comparator<File> sFileComparator = new Comparator<File>() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DataManager.java | 33 import java.util.Comparator; 89 public static final Comparator<MediaItem> sDateTakenComparator = 92 private static class DateTakenComparator implements Comparator<MediaItem> {
|
/external/chromium_org/chrome/browser/sync_file_system/local/ |
local_file_change_tracker.h | 126 fileapi::FileSystemURL::Comparator>
|
/libcore/luni/src/main/java/java/util/ |
TreeMap.java | 33 * <p>This map sorts keys using either a user-supplied comparator or the key's 37 * this map. If a user-supplied comparator is in use, it will be returned 38 * by {@link #comparator}. 39 * <li>If no user-supplied comparator is supplied, keys will be sorted by 43 * this map. In this case {@link #comparator} will return null. 45 * With either a comparator or a natural ordering, comparisons should be 70 private static final Comparator<Comparable> NATURAL_ORDER = new Comparator<Comparable>() { 76 Comparator<? super K> comparator; field in class:TreeMap 671 public Comparator<? super K> comparator() { method in class:TreeMap [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
OrderingTest.java | 39 import java.util.Comparator; 59 Ordering<Integer> comparator = Ordering.natural(); local 60 Helpers.testComparator(comparator, 63 comparator.compare(1, null); 67 comparator.compare(null, 2); 71 comparator.compare(null, null); 74 assertSame(comparator, reserialize(comparator)); 75 assertEquals("Ordering.natural()", comparator.toString()); 95 Comparator<Integer> [all...] |
/libcore/luni/src/main/java/java/io/ |
ObjectStreamClass.java | 31 import java.util.Comparator; 453 Comparator<Class<?>> interfaceComparator = new Comparator<Class<?>>() { 471 Comparator<Field> fieldComparator = new Comparator<Field>() { 512 Comparator<Constructor<?>> constructorComparator = new Comparator<Constructor<?>>() { 548 Comparator<Method> methodComparator = new Comparator<Method>() { [all...] |
/art/test/044-proxy/src/ |
BasicTest.java | 25 import java.util.Comparator; 76 Arrays.sort(methods, new Comparator<Method>() {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ManifestTestListAdapter.java | 29 import java.util.Comparator; 111 Collections.sort(tests, new Comparator<TestListItem>() {
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestResults.java | 31 import java.util.Comparator; 175 private static class PkgComparator implements Comparator<TestPackageResult> {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TreeSetTest.java | 21 import java.util.Comparator; 30 public static class ReversedIntegerComparator implements Comparator { 66 * @tests java.util.TreeSet#TreeSet(java.util.Comparator) 69 // Test for method java.util.TreeSet(java.util.Comparator) 75 "Answered incorrect first element--did not use custom comparator ", 78 "Answered incorrect last element--did not use custom comparator ", 97 assertTrue("TreeSet does not answer correct comparator", anotherTreeSet 98 .comparator() == comp); 99 assertTrue("TreeSet does not use comparator", 153 * @tests java.util.TreeSet#comparator() [all...] |
/external/clang/test/SemaCXX/ |
cxx0x-initializer-constructor.cpp | 229 template<int N, class Comparator> bool g(const string<N>& s, Comparator cmp) {
|
/external/doclava/src/com/google/doclava/ |
PackageInfo.java | 28 public static final Comparator<PackageInfo> comparator = new Comparator<PackageInfo>() { field in class:PackageInfo
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/59/1/.cp/ |
jdtCompilerAdapter.jar | |
/external/guava/guava/src/com/google/common/collect/ |
Range.java | 28 import java.util.Comparator; 229 Comparator<?> comparator = set.comparator(); local 230 if (Ordering.natural().equals(comparator) || comparator == null) {
|