/libcore/ojluni/src/main/java/java/util/ |
Comparator.java | 226 * thenComparing(comparing(keyExtractor, cmp))}. 232 * and then comparing on the key extracted by the keyExtractor function 234 * @see #comparing(Function, Comparator) 242 return thenComparing(comparing(keyExtractor, keyComparator)); 250 * thenComparing(comparing(keyExtractor))}. 258 * @see #comparing(Function) 265 return thenComparing(comparing(keyExtractor)); 330 * NullPointerException} when comparing {@code null}. 347 * NullPointerException} when comparing {@code null}. 371 * @param comparator a {@code Comparator} for comparing non-null value 429 public static <T, U> Comparator<T> comparing( method 464 public static <T, U extends Comparable<? super U>> Comparator<T> comparing( method [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue8612.go | 7 // Gccgo had a bug comparing a struct or array value with an interface
|
bug449.go | 14 // NOTE: this program assumes comparing instance of T and T's
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue8612.go | 7 // Gccgo had a bug comparing a struct or array value with an interface
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/manual/ |
BulkParseTest.java | 27 import static java.util.Comparator.comparing; 71 TreeMap<Path, List<Problem>> results = new TreeMap<>(comparing(o -> o.toString().toLowerCase())); 85 TreeMap<Path, List<Problem>> results = new TreeMap<>(comparing(o -> o.toString().toLowerCase()));
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/androidTest/java/com/example/android/autofill/service/data/source/local/ |
AutofillDaoTest.java | 78 .sort(Comparator.comparing(FilledAutofillField::getFieldTypeName)); 91 Comparator.comparing(FilledAutofillField::getFieldTypeName));
|
/art/test/948-change-annotations/src/ |
Main.java | 65 Arrays.sort(annos, Comparator.comparing((v) -> v.toString()));
|
/libcore/luni/src/test/java/libcore/java/util/ |
ComparatorTest.java | 69 Comparator<Item> comparator = Comparator.comparing(Item::getOrderAsString); 74 Comparator<Item> comparator = Comparator.comparing(Item::getOrderAsString, 105 Comparator<Item> comparator = Comparator.comparing(Item::getOrderAsString); 138 Comparator<Item> comparator = Comparator.comparing(Item::getOrderAsString)
|
/external/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/ |
NodeMetaModelGenerator.java | 82 fields.sort(Comparator.comparing(Field::getName)); 91 methods.sort(Comparator.comparing(Method::getName));
|
/prebuilts/go/darwin-x86/src/bytes/ |
bytes_decl.go | 21 // Compare returns an integer comparing two byte slices lexicographically.
|
/prebuilts/go/darwin-x86/src/strings/ |
compare.go | 7 // Compare returns an integer comparing two strings lexicographically.
|
/prebuilts/go/linux-x86/src/bytes/ |
bytes_decl.go | 21 // Compare returns an integer comparing two byte slices lexicographically.
|
/prebuilts/go/linux-x86/src/strings/ |
compare.go | 7 // Compare returns an integer comparing two strings lexicographically.
|
/prebuilts/jdk/jdk8/darwin-x86/sample/lambda/BulkDataOperations/src/ |
CSVProcessor.java | 68 * BufferedReader.lines(), Collection.forEach(...), Comparator.comparing(...), 112 * Create a comparator that compares lines by comparing 116 = Comparator.comparing(str -> getCell(str, column), 191 = Comparator.comparing( 276 Comparator<String> cmp = Comparator.comparing(
|
/prebuilts/jdk/jdk8/linux-x86/sample/lambda/BulkDataOperations/src/ |
CSVProcessor.java | 68 * BufferedReader.lines(), Collection.forEach(...), Comparator.comparing(...), 112 * Create a comparator that compares lines by comparing 116 = Comparator.comparing(str -> getCell(str, column), 191 = Comparator.comparing( 276 Comparator<String> cmp = Comparator.comparing(
|
/external/desugar/java/com/google/devtools/common/options/ |
OptionValueDescription.java | 281 .sorted(Comparator.comparing(Entry::getKey)) 297 .sorted(Comparator.comparing(Entry::getKey)) 325 .sorted(Comparator.comparing(Entry::getKey))
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
SliceClientPermissionsTest.java | 197 authorities.sort(Comparator.comparing(SliceAuthority::getAuthority)); 233 a1.sort(Comparator.comparing(SliceAuthority::getAuthority)); 234 a2.sort(Comparator.comparing(SliceAuthority::getAuthority));
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
SignatureTest.java | 109 return new TreeSet<>(Comparator.comparing(JDiffClassDescription::getAbsoluteClassName));
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
StreamsBenchmark.java | 87 Comparator.comparing(
|
/frameworks/base/services/core/java/com/android/server/pm/ |
ShortcutDumpFiles.java | 84 Arrays.sort(files, Comparator.comparing(f -> f.getName()));
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
AppLauncherUtils.java | 52 .comparing(AppMetaData::getDisplayName, String::compareToIgnoreCase);
|
/external/autotest/contrib/ |
remove_old_tests_in_tko.sql | 32 -- may have later started_time comparing to tko_tests. Deleting these records
|
/packages/apps/Messaging/ |
ForceProguard.mk | 16 # switch to/from eng builds. This is determined by comparing the flag files used in the previous
|
/prebuilts/go/darwin-x86/src/math/ |
bits.go | 47 // Test for infinity by comparing against maximum float.
|
/prebuilts/go/darwin-x86/test/interface/ |
fake.go | 81 comparing uncomparable type float32
|