/libcore/luni/src/main/java/java/util/ |
Collections.java | 185 private static final class ReverseComparator<T> implements Comparator<T>, Serializable { 201 private static final class ReverseComparator2<T> implements Comparator<T>, Serializable { 203 private final Comparator<T> cmp; 205 ReverseComparator2(Comparator<T> comparator) { 206 this.cmp = comparator; 813 @Override public Comparator<? super K> comparator() { 815 return sm.comparator(); 874 @Override public Comparator<? super E> comparator() [all...] |
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
GestureBuilderActivity.java | 50 import java.util.Comparator; 72 private final Comparator<NamedGesture> mSorter = new Comparator<NamedGesture>() {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderCustom.java | 26 import java.util.Comparator; 151 public static final Comparator<AppEntry> ALPHA_COMPARATOR = new Comparator<AppEntry>() {
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderCustomSupport.java | 61 import java.util.Comparator; 153 public static final Comparator<AppEntry> ALPHA_COMPARATOR = new Comparator<AppEntry>() {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
Collections2Test.java | 25 import java.util.Comparator; 47 private static final SerializableAssert comparator = new SerializableAssert() { field in class:Collections2Test 55 * java.lang.Object, java.util.Comparator) 282 Comparator<String> roc = Collections.reverseOrder(); 283 assertNotNull("Assert 0: comparator must not be null", roc); 285 assertTrue("Assert 1: comparator must implement Serializable", 296 * @tests java.util.Collections#reverseOrder(java.util.Comparator) 299 Comparator<String> roc = Collections 301 assertNotNull("Assert 0: comparator must not be null", roc); 303 assertTrue("Assert 1: comparator must implement Serializable" [all...] |
/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_database.cc | 24 #include "third_party/leveldatabase/src/include/leveldb/comparator.h" 57 class ComparatorAdapter : public leveldb::Comparator { 59 explicit ComparatorAdapter(const LevelDBComparator* comparator) 60 : comparator_(comparator) {} 93 static leveldb::Status OpenDB(leveldb::Comparator* comparator, 98 options.comparator = comparator; 264 const LevelDBComparator* comparator, 268 new ComparatorAdapter(comparator)); [all...] |
/external/doclava/src/com/google/doclava/ |
FieldInfo.java | 21 import java.util.Comparator; 25 public static final Comparator<FieldInfo> comparator = new Comparator<FieldInfo>() { field in class:FieldInfo
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
TimeLineGraph.java | 79 Comparator comparator=new TimeLineGraphItem.GraphItemComparator(); local 84 Arrays.sort(fItemsArray,comparator); 227 Comparator comparator=new TimeLineGraphItem.GraphItemComparator(); local 230 Arrays.sort(fItemsArray,comparator); 262 Comparator comparator=new TimeLineGraphItem.GraphItemComparator(); local 264 Arrays.sort(fItemsArray,comparator);
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
CharsTest.java | 30 import java.util.Comparator; 305 Comparator<char[]> comparator = Chars.lexicographicalComparator(); local 306 Helpers.testComparator(comparator, ordered); 311 Comparator<char[]> comparator = Chars.lexicographicalComparator(); local 312 assertSame(comparator, SerializableTester.reserialize(comparator));
|
DoublesTest.java | 33 import java.util.Comparator; 289 Comparator<double[]> comparator = Doubles.lexicographicalComparator(); local 290 Helpers.testComparator(comparator, ordered); 295 Comparator<double[]> comparator = Doubles.lexicographicalComparator(); local 296 assertSame(comparator, SerializableTester.reserialize(comparator));
|
FloatsTest.java | 33 import java.util.Comparator; 281 Comparator<float[]> comparator = Floats.lexicographicalComparator(); local 282 Helpers.testComparator(comparator, ordered); 287 Comparator<float[]> comparator = Floats.lexicographicalComparator(); local 288 assertSame(comparator, SerializableTester.reserialize(comparator));
|
IntsTest.java | 30 import java.util.Comparator; 308 Comparator<int[]> comparator = Ints.lexicographicalComparator(); local 309 Helpers.testComparator(comparator, ordered); 314 Comparator<int[]> comparator = Ints.lexicographicalComparator(); local 315 assertSame(comparator, SerializableTester.reserialize(comparator));
|
LongsTest.java | 30 import java.util.Comparator; 288 Comparator<long[]> comparator = Longs.lexicographicalComparator(); local 289 Helpers.testComparator(comparator, ordered); 294 Comparator<long[]> comparator = Longs.lexicographicalComparator(); local 295 assertSame(comparator, SerializableTester.reserialize(comparator));
|
ShortsTest.java | 30 import java.util.Comparator; 315 Comparator<short[]> comparator = Shorts.lexicographicalComparator(); local 316 Helpers.testComparator(comparator, ordered); 321 Comparator<short[]> comparator = Shorts.lexicographicalComparator(); local 322 assertSame(comparator, SerializableTester.reserialize(comparator));
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
RawHeaders.java | 27 import java.util.Comparator; 54 private static final Comparator<String> FIELD_NAME_COMPARATOR = new Comparator<String>() {
|
/frameworks/base/core/java/android/text/util/ |
Linkify.java | 35 import java.util.Comparator; 498 Comparator<LinkSpec> c = new Comparator<LinkSpec>() {
|
/libcore/libdvm/src/main/java/java/lang/reflect/ |
Field.java | 36 import java.util.Comparator; 52 public static final Comparator<Field> ORDER_BY_NAME_AND_DECLARING_CLASS 53 = new Comparator<Field>() { [all...] |
/libcore/luni/src/main/java/java/nio/ |
FileChannelImpl.java | 32 import java.util.Comparator; 45 private static final Comparator<FileLock> LOCK_COMPARATOR = new Comparator<FileLock>() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
TimeClustering.java | 28 import java.util.Comparator; 83 private static final Comparator<SmallItem> sDateComparator = 86 private static class DateComparator implements Comparator<SmallItem> {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
MtpDeviceIndex.java | 27 import java.util.Comparator; 366 void sortElements(Comparator<MtpObjectInfo> comparator) { 367 Collections.sort(tempElementsList, comparator); 401 * Comparator to sort MtpObjectInfo objects by date created. 403 private static class MtpObjectTimestampComparator implements Comparator<MtpObjectInfo> {
|
/packages/apps/Settings/src/com/android/settings/ |
NotificationStation.java | 52 import java.util.Comparator; 92 private final Comparator<HistoricalNotificationInfo> mNotificationSorter 93 = new Comparator<HistoricalNotificationInfo>() {
|
/external/chromium_org/chrome/browser/chromeos/memory/ |
oom_priority_manager_unittest.cc | 34 // Tests the sorting comparator so that we know it's producing the 36 TEST_F(OomPriorityManagerTest, Comparator) {
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
db_impl.h | 125 const Options options_; // options_.comparator == &internal_comparator_ 197 const Comparator* user_comparator() const {
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
FieldSerializer.java | 105 Collections.sort(cachedFields, new Comparator<SavedField>() {
|
/libcore/luni/src/main/java/java/io/ |
ObjectStreamField.java | 22 import java.util.Comparator;
|