/development/apps/Development/src/com/android/development/ |
RunningProcesses.java | 35 import java.util.Comparator; 136 private final Comparator sDisplayNameComparator = new Comparator() {
|
/external/v8/test/cctest/ |
test-liveedit.cc | 43 class StringCompareInput : public Comparator::Input { 77 class ListDiffOutputWriter : public Comparator::Output { 103 Comparator::CalculateDifference(&input, &writer);
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldPriorityQueueTest.java | 20 import java.util.Comparator; 34 assertNull(queue.comparator()); 52 // Even though "BB" is equivalent to "AA" using the string length comparator, remove() 108 Comparator<String> { 124 private static class MockComparatorCast<E> implements Comparator<E> {
|
OldTreeMapTest.java | 24 import java.util.Comparator; 35 public static class ReversedComparator implements Comparator { 47 Comparator<T>, Serializable { 63 class MockComparatorNullTolerable implements Comparator<String> { 91 // Test for method java.util.TreeMap(java.util.Comparator) 92 Comparator comp = new ReversedComparator(); 94 assertTrue("TreeMap answered incorrect comparator", reversedTreeMap 95 .comparator() == comp); 98 assertTrue("TreeMap does not use comparator (firstKey was incorrect)", 100 assertTrue("TreeMap does not use comparator (lastKey was incorrect)" [all...] |
/cts/tools/signature-tools/src/signature/io/html/ |
ExecutableMemberComparator.java | 32 import java.util.Comparator; 37 Comparator<IExecutableMemberDelta<? extends IExecutableMember>> {
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestResultRepo.java | 28 import java.util.Comparator; 133 * A {@link Comparator} that compares {@link File}s by name. 135 private class FileComparator implements Comparator<File> {
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XNodeSet.java | 443 /** Less than comparator */ 446 /** Less than or equal comparator */ 449 /** Greater than comparator */ 452 /** Greater than or equal comparator */ 456 /** Equal comparator */ 459 /** Not equal comparator */ 466 * @param comparator Comparator to use 472 public boolean compare(XObject obj2, Comparator comparator) [all...] |
/libcore/luni/src/main/java/java/text/ |
Collator.java | 20 import java.util.Comparator; 111 public abstract class Collator implements Comparator<Object>, Cloneable {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
DefaultCorpusRanker.java | 28 import java.util.Comparator; 98 private static class CorpusComparator implements Comparator<Corpus> {
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
AllocationInfo.java | 19 import java.util.Comparator; 35 public final static class AllocationSorter implements Comparator<AllocationInfo> {
|
/libcore/luni/src/main/java/java/util/concurrent/ |
PriorityBlockingQueue.java | 104 * priority queue is ordered by comparator, or by the elements' 105 * natural ordering, if comparator is null: For each node n in the 117 * The comparator, or null if priority queue uses elements' 120 private transient Comparator<? super E> comparator; field in class:PriorityBlockingQueue 169 * comparator. 172 * @param comparator the comparator that will be used to order this 179 Comparator<? super E> comparator) { 549 public Comparator<? super E> comparator() { method in class:PriorityBlockingQueue [all...] |
ConcurrentSkipListSet.java | 15 * or by a {@link Comparator} provided at set creation time, depending 77 * the specified comparator. 79 * @param comparator the comparator that will be used to order this set. 83 public ConcurrentSkipListSet(Comparator<? super E> comparator) { 84 m = new ConcurrentSkipListMap<E,Object>(comparator); 112 m = new ConcurrentSkipListMap<E,Object>(s.comparator()); 348 public Comparator<? super E> comparator() { method in class:ConcurrentSkipListSet [all...] |
/external/chromium/base/ |
tracked_objects.h | 359 // Comparator is a class that supports the comparison of Snapshot instances. 367 class BASE_API Comparator { 389 explicit Comparator(); 391 // Reset the comparator to a NIL selector. Clear() and recursively delete any 409 // A comparator can be refined by specifying what to do if the selected basis 449 Comparator* tiebreaker_; 486 // For a given accumulated array of results, use the comparator to sort and 490 const Comparator& comparator, std::string* output);
|
/external/proguard/src/proguard/classfile/editor/ |
AttributeSorter.java | 39 implements ClassVisitor, MemberVisitor, AttributeVisitor, Comparator 78 // Implementations for Comparator.
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
AccountType.java | 41 import java.util.Comparator; 242 * {@link Comparator} to sort by {@link DataKind#weight}. 244 private static Comparator<DataKind> sWeightComparator = new Comparator<DataKind>() { 413 public static class DisplayLabelComparator implements Comparator<AccountType> { 415 /** {@link Comparator} for the current locale. */
|
/packages/apps/Settings/src/com/android/settings/ |
UsageStats.java | 34 import java.util.Comparator; 63 public static class AppNameComparator implements Comparator<PkgUsageStats> { 75 public static class LaunchCountComparator implements Comparator<PkgUsageStats> { 82 public static class UsageTimeComparator implements Comparator<PkgUsageStats> {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
Arrays2Test.java | 22 import java.util.Comparator; 391 //test with null comparator, which switches back to Comparable 394 assertEquals(2, Arrays.binarySearch(strings, "a", (Comparator<String>)null)); 395 assertEquals(-1, Arrays.binarySearch(strings, "A", (Comparator<String>)null)); 396 assertEquals(-4, Arrays.binarySearch(strings, "b", (Comparator<String>)null)); 397 assertEquals(0, Arrays.binarySearch(strings, "B", (Comparator<String>)null)); 398 assertEquals(3, Arrays.binarySearch(strings, "c", (Comparator<String>)null)); 399 assertEquals(-2, Arrays.binarySearch(strings, "C", (Comparator<String>)null)); 400 assertEquals(-5, Arrays.binarySearch(strings, "d", (Comparator<String>)null)); 401 assertEquals(1, Arrays.binarySearch(strings, "D", (Comparator<String>)null)); [all...] |
/libcore/luni/src/main/java/java/util/ |
TimSort.java | 76 * The comparator for this sort. 78 private final Comparator<? super T> c; 132 * @param c the comparator to determine the order of the sort 134 private TimSort(T[] a, Comparator<? super T> c) { 168 static <T> void sort(T[] a, Comparator<? super T> c) { 172 static <T> void sort(T[] a, int lo, int hi, Comparator<? super T> c) { 239 * @param c comparator to used for the sort 243 Comparator<? super T> c) { 308 * @param c the comparator to used for the sort 313 Comparator<? super T> c) [all...] |
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyRunnerHelp.java | 37 import java.util.Comparator; 128 private static Comparator<Member> MEMBER_SORTER = new Comparator<Member>() { 134 private static Comparator<Class<?>> CLASS_SORTER = new Comparator<Class<?>>() {
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationItem.java | 30 import java.util.Comparator; 68 * Comparator that sorts (outer) instances by type id index. 70 private static class TypeIdSorter implements Comparator<AnnotationItem> {
|
EncodedArrayItem.java | 30 import java.util.Comparator;
|
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationItem.java | 28 import java.util.Comparator; 66 * Comparator that sorts (outer) instances by type id index. 68 private static class TypeIdSorter implements Comparator<AnnotationItem> {
|
/frameworks/base/core/java/android/content/pm/ |
PackageItemInfo.java | 28 import java.util.Comparator; 272 implements Comparator<PackageItemInfo> {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
CorporaAdapter.java | 34 import java.util.Comparator; 83 private static class CorpusComparator implements Comparator<Corpus> {
|
/external/v8/src/ |
liveedit.h | 142 // A general-purpose comparator between 2 arrays. 143 class Comparator {
|