HomeSort by relevance Sort by last modified time
    Searched refs:Comparator (Results 201 - 225 of 795) sorted by null

1 2 3 4 5 6 7 891011>>

  /libcore/luni/src/main/java/java/util/
Objects.java 32 public static <T> int compare(T a, T b, Comparator<? super T> c) {
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalSource.java 31 import java.util.Comparator;
41 public static final Comparator<PathId> sIdComparator = new IdComparator();
101 Comparator<MediaItem> comp = DataManager.sDateTakenComparator;
246 // This is a comparator which compares the suffix number in two Paths.
247 private static class IdComparator implements Comparator<PathId> {
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
MixedItemSection.java 27 import java.util.Comparator;
54 private static final Comparator<OffsettedItem> TYPE_SORTER =
55 new Comparator<OffsettedItem>() {
  /dalvik/dx/src/com/android/dx/dex/file/
MixedItemSection.java 26 import java.util.Comparator;
53 private static final Comparator<OffsettedItem> TYPE_SORTER =
54 new Comparator<OffsettedItem>() {
  /development/apps/Development/src/com/android/development/
PackageBrowser.java 42 import java.util.Comparator;
96 private final static Comparator<MyPackageInfo> sDisplayNameComparator
97 = new Comparator<MyPackageInfo>() {
  /development/samples/ApiDemos/src/com/example/android/apis/
ApiDemos.java 31 import java.util.Comparator;
112 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
113 new Comparator<Map<String, Object>>() {
  /development/samples/Support13Demos/src/com/example/android/supportv13/
Support13Demos.java 31 import java.util.Comparator;
112 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
113 new Comparator<Map<String, Object>>() {
  /development/samples/Support4Demos/src/com/example/android/supportv4/
Support4Demos.java 31 import java.util.Comparator;
112 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
113 new Comparator<Map<String, Object>>() {
  /development/samples/Support7Demos/src/com/example/android/supportv7/
Support7Demos.java 31 import java.util.Comparator;
113 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
114 new Comparator<Map<String, Object>>() {
  /external/chromium_org/third_party/leveldatabase/src/db/
db_iter.cc 51 DBIter(DBImpl* db, const Comparator* cmp, Iterator* iter, SequenceNumber s,
112 const Comparator* const user_comparator_;
310 const Comparator* user_key_comparator,
  /external/chromium_org/third_party/leveldatabase/src/table/
block.cc 11 #include "leveldb/comparator.h"
78 const Comparator* const comparator_;
115 Iter(const Comparator* comparator,
119 : comparator_(comparator),
256 Iterator* Block::NewIterator(const Comparator* cmp) {
  /external/chromium_org/third_party/protobuf/python/
mox.py 751 class Comparator:
754 A Comparator can be used as a parameter to a mocked method when the exact
764 A Comparator may replace one or more parameters, for example:
790 class IsA(Comparator):
828 class IsAlmost(Comparator):
865 class StrContains(Comparator):
904 class Regex(Comparator):
939 class In(Comparator):
971 class ContainsKeyValue(Comparator):
1005 class SameElementsAs(Comparator)
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
MixedItemSection.java 27 import java.util.Comparator;
54 private static final Comparator<OffsettedItem> TYPE_SORTER =
55 new Comparator<OffsettedItem>() {
  /external/guava/guava/src/com/google/common/collect/
RegularImmutableSortedMultiset.java 25 import java.util.Comparator;
58 static <E> RegularImmutableSortedMultiset<E> createFromSorted(Comparator<? super E> comparator,
66 return new RegularImmutableSortedMultiset<E>(comparator, ImmutableList.copyOf(newEntries));
72 Comparator<? super E> comparator, ImmutableList<CumulativeCountEntry<E>> entries) {
73 super(comparator);
89 return new RegularImmutableSortedSet<E>(elementList(), comparator());
145 elementList(), (E) element, comparator(), ANY_PRESENT, INVERTED_INSERTION_INDEX);
158 elementList(), checkNotNull(upperBound), comparator(), ANY_PRESENT, NEXT_HIGHER)
    [all...]
  /external/guava/guava/src/com/google/common/primitives/
UnsignedLongs.java 22 import java.util.Comparator;
139 * Returns a comparator that compares two arrays of unsigned {@code long} values
144 * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
151 public static Comparator<long[]> lexicographicalComparator() {
155 enum LexicographicalComparator implements Comparator<long[]> {
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
TestsForMapsInJavaUtil.java 29 import java.util.Comparator;
237 static <T> Comparator<T> arbitraryNullFriendlyComparator() {
238 return new Comparator<T>() {
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
SortedMapGenerators.java 31 import java.util.Comparator;
47 public static final Comparator<Entry<String, String>> ENTRY_COMPARATOR
48 = new Comparator<Entry<String, String>>() {
  /external/guava/guava-tests/test/com/google/common/collect/
SortedMapsTest.java 31 import java.util.Comparator;
103 Comparator<Integer> comparator = Ordering.natural(); local
104 SortedMap<Integer, String> unfiltered = Maps.newTreeMap(comparator);
115 assertSame(comparator, filtered.comparator());
132 Comparator<Integer> comparator = Ordering.natural(); local
133 SortedMap<Integer, String> unfiltered = Maps.newTreeMap(comparator);
144 assertSame(comparator, filtered.comparator())
    [all...]
TreeMultimapExplicitTest.java 26 import java.util.Comparator;
43 private enum StringLength implements Comparator<String> {
44 COMPARATOR;
65 private static final Comparator<Integer> DECREASING_INT_COMPARATOR =
70 StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
78 StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
94 StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
108 assertEquals(Ordering.natural(), copy.get("google").comparator()); method
118 assertEquals(StringLength.COMPARATOR, multimap.keyComparator());
167 assertEquals(DECREASING_INT_COMPARATOR, multimap.get("foo").comparator());
    [all...]
  /external/guava/guava-tests/test/com/google/common/primitives/
BooleansTest.java 30 import java.util.Comparator;
148 Comparator<boolean[]> comparator = Booleans.lexicographicalComparator(); local
149 Helpers.testComparator(comparator, ordered);
154 Comparator<boolean[]> comparator = Booleans.lexicographicalComparator(); local
155 assertSame(comparator, SerializableTester.reserialize(comparator));
  /external/javassist/src/main/javassist/
SerialVersionUID.java 108 Arrays.sort(fields, new Comparator() {
136 Arrays.sort(constructors, new Comparator() {
157 Arrays.sort(methods, new Comparator() {
  /external/mockito/src/org/mockito/internal/util/reflection/
FieldInitializer.java 15 import java.util.Comparator;
215 private Comparator<Constructor<?>> byParameterNumber = new Comparator<Constructor<?>>() {
  /external/protobuf/python/
mox.py 751 class Comparator:
754 A Comparator can be used as a parameter to a mocked method when the exact
764 A Comparator may replace one or more parameters, for example:
790 class IsA(Comparator):
828 class IsAlmost(Comparator):
865 class StrContains(Comparator):
904 class Regex(Comparator):
939 class In(Comparator):
971 class ContainsKeyValue(Comparator):
1005 class SameElementsAs(Comparator)
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
HwTests.java 31 import java.util.Comparator;
116 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
117 new Comparator<Map<String, Object>>() {
  /libcore/libart/src/main/java/java/lang/reflect/
Field.java 37 import java.util.Comparator;
54 public static final Comparator<Field> ORDER_BY_NAME_AND_DECLARING_CLASS
55 = new Comparator<Field>() {
    [all...]

Completed in 342 milliseconds

1 2 3 4 5 6 7 891011>>