/external/chromium_org/third_party/leveldatabase/src/table/ |
merger.h | 10 class Comparator; 22 const Comparator* comparator, Iterator** children, int n);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
EmptyImmutableSortedSet.java | 19 import java.util.Comparator; 27 EmptyImmutableSortedSet(Comparator<? super E> comparator) { 28 super(comparator);
|
TreeMultimap.java | 24 import java.util.Comparator; 34 * Comparator#compare} instead of {@link Object#equals} to determine 43 * through the keys according to the key comparator ordering or the natural 46 * to the value comparator ordering or the natural ordering of the values. The 68 private transient Comparator<? super K> keyComparator; 69 private transient Comparator<? super V> valueComparator; 82 * Neither comparator may be null; use {@link Ordering#natural()} to specify 85 * @param keyComparator the comparator that determines the key ordering 86 * @param valueComparator the comparator that determines the value ordering 89 Comparator<? super K> keyComparator [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
Sorter.java | 19 import java.util.Comparator; 22 public abstract void sort(Type[] array, int count, Comparator<Type> comparator);
|
StandardSorter.java | 20 import java.util.Comparator; 25 public void sort(Object[] array, int count, Comparator comparator) { 26 Arrays.sort(array, 0, count, comparator);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
DefaultFileComparator.java | 17 package org.apache.commons.io.comparator;
21 import java.util.Comparator;
26 * This comparator can be used to sort lists or arrays of files
47 public class DefaultFileComparator implements Comparator<File>, Serializable {
49 /** Singleton default comparator instance */
50 public static final Comparator<File> DEFAULT_COMPARATOR = new DefaultFileComparator();
52 /** Singleton reverse default comparator instance */
53 public static final Comparator<File> DEFAULT_REVERSE = new ReverseComparator<File>(DEFAULT_COMPARATOR);
|
LastModifiedFileComparator.java | 17 package org.apache.commons.io.comparator;
21 import java.util.Comparator;
27 * This comparator can be used to sort lists or arrays of files
48 public class LastModifiedFileComparator implements Comparator<File>, Serializable {
50 /** Last modified comparator instance */
51 public static final Comparator<File> LASTMODIFIED_COMPARATOR = new LastModifiedFileComparator();
53 /** Reverse last modified comparator instance */
54 public static final Comparator<File> LASTMODIFIED_REVERSE = new ReverseComparator<File>(LASTMODIFIED_COMPARATOR);
|
ReverseComparator.java | 17 package org.apache.commons.io.comparator;
20 import java.util.Comparator;
24 * the delegate {@link Comparator}.
29 class ReverseComparator<T> implements Comparator<T>, Serializable {
31 private final Comparator<T> delegate;
34 * Construct an instance with the sepecified delegate {@link Comparator}.
36 * @param delegate The comparator to delegate to
38 public ReverseComparator(Comparator<T> delegate) {
40 throw new IllegalArgumentException("Delegate comparator is missing");
46 * Compare using the delegate Comparator, but reversing the result. [all...] |
ExtensionFileComparator.java | 17 package org.apache.commons.io.comparator;
21 import java.util.Comparator;
30 * This comparator can be used to sort lists or arrays of files
54 public class ExtensionFileComparator implements Comparator<File>, Serializable {
56 /** Case-sensitive extension comparator instance (see {@link IOCase#SENSITIVE}) */
57 public static final Comparator<File> EXTENSION_COMPARATOR = new ExtensionFileComparator();
59 /** Reverse case-sensitive extension comparator instance (see {@link IOCase#SENSITIVE}) */
60 public static final Comparator<File> EXTENSION_REVERSE = new ReverseComparator<File>(EXTENSION_COMPARATOR);
62 /** Case-insensitive extension comparator instance (see {@link IOCase#INSENSITIVE}) */
63 public static final Comparator<File> EXTENSION_INSENSITIVE_COMPARATOR = new ExtensionFileComparator(IOCase.INSENSITIVE); [all...] |
NameFileComparator.java | 17 package org.apache.commons.io.comparator;
21 import java.util.Comparator;
28 * This comparator can be used to sort lists or arrays of files
52 public class NameFileComparator implements Comparator<File>, Serializable {
54 /** Case-sensitive name comparator instance (see {@link IOCase#SENSITIVE}) */
55 public static final Comparator<File> NAME_COMPARATOR = new NameFileComparator();
57 /** Reverse case-sensitive name comparator instance (see {@link IOCase#SENSITIVE}) */
58 public static final Comparator<File> NAME_REVERSE = new ReverseComparator<File>(NAME_COMPARATOR);
60 /** Case-insensitive name comparator instance (see {@link IOCase#INSENSITIVE}) */
61 public static final Comparator<File> NAME_INSENSITIVE_COMPARATOR = new NameFileComparator(IOCase.INSENSITIVE); [all...] |
PathFileComparator.java | 17 package org.apache.commons.io.comparator;
21 import java.util.Comparator;
28 * This comparator can be used to sort lists or arrays of files
52 public class PathFileComparator implements Comparator<File>, Serializable {
54 /** Case-sensitive path comparator instance (see {@link IOCase#SENSITIVE}) */
55 public static final Comparator<File> PATH_COMPARATOR = new PathFileComparator();
57 /** Reverse case-sensitive path comparator instance (see {@link IOCase#SENSITIVE}) */
58 public static final Comparator<File> PATH_REVERSE = new ReverseComparator<File>(PATH_COMPARATOR);
60 /** Case-insensitive path comparator instance (see {@link IOCase#INSENSITIVE}) */
61 public static final Comparator<File> PATH_INSENSITIVE_COMPARATOR = new PathFileComparator(IOCase.INSENSITIVE); [all...] |
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/ |
comparator.h | 14 // A Comparator object provides a total order across slices that are 15 // used as keys in an sstable or a database. A Comparator implementation 18 class Comparator { 20 virtual ~Comparator(); 28 // The name of the comparator. Used to check for comparator 29 // mismatches (i.e., a DB created with one comparator is 30 // accessed using a different comparator. 33 // the comparator implementation changes in a way that will cause 44 // Simple comparator implementations may return with *start unchanged [all...] |
/external/junit/src/org/junit/runner/manipulation/ |
Sorter.java | 3 import java.util.Comparator; 9 * to use a <code>Sorter</code> directly. Instead, use {@link org.junit.runner.Request#sortWith(Comparator)}. 13 public class Sorter implements Comparator<Description> { 17 public static Sorter NULL= new Sorter(new Comparator<Description>() { 21 private final Comparator<Description> fComparator; 24 * Creates a <code>Sorter</code> that uses <code>comparator</code> 26 * @param comparator the {@link Comparator} to use when sorting tests 28 public Sorter(Comparator<Description> comparator) { [all...] |
/external/guava/guava/src/com/google/common/collect/ |
CompoundOrdering.java | 22 import java.util.Comparator; 28 final ImmutableList<Comparator<? super T>> comparators; 30 CompoundOrdering(Comparator<? super T> primary, 31 Comparator<? super T> secondary) { 33 = ImmutableList.<Comparator<? super T>>of(primary, secondary); 36 CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) { 40 CompoundOrdering(List<? extends Comparator<? super T>> comparators, 41 Comparator<? super T> lastComparator) { 42 this.comparators = new ImmutableList.Builder<Comparator<? super T>>() 47 for (Comparator<? super T> comparator : comparators) [all...] |
SortedIterable.java | 19 import java.util.Comparator; 23 * An {@code Iterable} whose elements are sorted relative to a {@code Comparator}, typically 31 * Returns the {@code Comparator} by which the elements of this iterable are ordered, or {@code 34 Comparator<? super T> comparator(); method in interface:SortedIterable 38 * nondecreasing order according to the associated {@link #comparator}.
|
/libcore/luni/src/main/java/java/util/ |
Comparator.java | 21 * A {@code Comparator} is used to compare two objects to determine their ordering with 22 * respect to each other. On a given {@code Collection}, a {@code Comparator} can be used to 23 * obtain a sorted {@code Collection} which is <i>totally ordered</i>. For a {@code Comparator} 26 * holds true. It is recommended that a {@code Comparator} implements 31 public interface Comparator<T> { 58 * Compares this {@code Comparator} with the specified {@code Object} and indicates whether they 62 * A {@code Comparator} never needs to override this method, but may choose so for 66 * the {@code Object} to compare with this comparator.
|
/external/emma/core/java12/com/vladium/emma/report/ |
ItemComparator.java | 11 import java.util.Comparator; 18 interface ItemComparator extends Comparator 40 final Comparator [] comparators = new Comparator [attributeIDsWithDir.length >> 1]; 45 final Comparator comparator = IItemAttribute.Factory.getAttribute (attributeID, unitsID).comparator (); local 46 comparators [a >> 1] = attributeIDsWithDir [a + 1] < 0 ? new ReverseComparator (comparator) : comparator; 70 ReverseComparator (final Comparator comparator [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
skiplist.h | 37 template<typename Key, class Comparator> 46 explicit SkipList(Comparator cmp, Arena* arena); 98 Comparator const compare_; 143 template<typename Key, class Comparator> 144 struct SkipList<Key,Comparator>::Node { 179 template<typename Key, class Comparator> 180 typename SkipList<Key,Comparator>::Node* 181 SkipList<Key,Comparator>::NewNode(const Key& key, int height) { 187 template<typename Key, class Comparator> 188 inline SkipList<Key,Comparator>::Iterator::Iterator(const SkipList* list) [all...] |
db_iter.h | 21 const Comparator* user_key_comparator,
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
ParticleComparator.java | 36 import java.util.Comparator; 39 class ParticleComparator implements Comparator<Particle> {
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/ |
GeometryComparator.java | 37 import java.util.Comparator; 40 * <code>GeometryComparator</code> is a special version of {@link Comparator} 45 public interface GeometryComparator extends Comparator<Geometry> {
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
CityNameComparator.java | 19 import java.util.Comparator; 21 public class CityNameComparator implements Comparator<CityObj> {
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
MessageDateComparator.java | 19 import java.util.Comparator; 21 public class MessageDateComparator implements Comparator<Message> {
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
TreeMultimap_CustomFieldSerializer.java | 23 import java.util.Comparator; 39 Comparator keyComparator = (Comparator) in.readObject(); 40 Comparator valueComparator = (Comparator) in.readObject();
|
/external/junit/src/org/junit/internal/requests/ |
SortingRequest.java | 3 import java.util.Comparator; 12 private final Comparator<Description> fComparator; 14 public SortingRequest(Request request, Comparator<Description> comparator) { 16 fComparator= comparator;
|