OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:compareTo
(Results
1 - 25
of
258
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
/dalvik/tests/069-field-type/src2/
Blah.java
6
public int
compareTo
(Object another) {
7
System.out.println("In
compareTo
");
/libcore/luni/src/main/java/java/lang/
Comparable.java
26
* The order rule must be both transitive (if {@code x.
compareTo
(y) < 0} and
27
* {@code y.
compareTo
(z) < 0}, then {@code x.
compareTo
(z) < 0} must hold) and
28
* invertible (the sign of the result of x.
compareTo
(y) must be equal to the
29
* negation of the sign of the result of y.
compareTo
(x) for all combinations of
33
* result of x.
compareTo
(y) is zero, then the result of x.equals(y) should be
52
int
compareTo
(T another);
/dalvik/dx/src/com/android/dx/util/
Uint.java
29
public int
compareTo
(Uint uint) {
/external/doclava/src/com/google/doclava/
Sorter.java
28
public int
compareTo
(Object other) {
KeywordEntry.java
38
public int
compareTo
(Object that) {
/external/jdiff/src/jdiff/
SingleComment.java
31
public int
compareTo
(Object o) {
32
return id_.
compareTo
(((SingleComment)o).id_);
ConstructorAPI.java
10
* The method used for Collection comparison (
compareTo
) must make its
42
public int
compareTo
(Object o) {
44
int comp = type_.
compareTo
(constructorAPI.type_);
47
comp = exceptions_.
compareTo
(constructorAPI.exceptions_);
50
comp = modifiers_.
compareTo
(constructorAPI.modifiers_);
62
if (type_.
compareTo
(((ConstructorAPI)o).type_) == 0)
DiffOutput.java
43
public int
compareTo
(Object o) {
45
int comp = pkgName_.
compareTo
(oDiffOutput.pkgName_);
49
// if (id_.
compareTo
("package") == 0)
51
return id_.
compareTo
(oDiffOutput.id_);
PackageAPI.java
10
* The method used for Collection comparison (
compareTo
) must make its
34
public int
compareTo
(Object o) {
38
return name_.
compareTo
(oPackageAPI.name_);
45
if (name_.
compareTo
(((PackageAPI)o).name_) == 0)
ParamAPI.java
10
* The method used for Collection comparison (
compareTo
) must make its
29
public int
compareTo
(Object o) {
31
int comp = name_.
compareTo
(oParamAPI.name_);
34
comp = type_.
compareTo
(oParamAPI.type_);
44
if (name_.
compareTo
(((ParamAPI)o).name_) == 0)
51
if (type_.
compareTo
("void") == 0)
/libcore/luni/src/main/java/java/text/
CollationKey.java
30
* Both the method {@code CollationKey.
compareTo
(CollationKey)} and the method
38
* {@code CollationKey.
compareTo
(CollationKey)} executes, it performs bitwise
65
* if( keys[i].
compareTo
( keys[j] ) > 0 )
95
public abstract int
compareTo
(CollationKey value);
/dalvik/tests/021-string2/src/
Main.java
35
Assert.assertEquals(test.
compareTo
(test1), 0);
36
Assert.assertTrue(test1.
compareTo
(test2) > 0);
37
Assert.assertTrue(test2.
compareTo
(test1) < 0);
40
Assert.assertEquals(test.
compareTo
(sub), 0);
41
Assert.assertEquals(sub.
compareTo
(test), 0);
52
test.
compareTo
(null);
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/
Word.java
46
public int
compareTo
(Word w) {
49
return mWord.
compareTo
(w.mWord);
/external/apache-harmony/luni/src/test/resources/org/apache/harmony/luni/tests/
ObjectStreamClassTest.jar
/cts/tests/tests/provider/src/android/provider/cts/
MediaStore_AudioTest.java
68
assertTrue(Audio.keyFor("areosmith").
compareTo
(mKeyForBeatles) < 0);
69
assertTrue(Audio.keyFor("coldplay").
compareTo
(mKeyForBeatles) > 0);
72
assertTrue(Audio.keyFor("¿Cómo esto funciona?").
compareTo
(mKeyForBeatles) < 0);
73
assertTrue(Audio.keyFor("Le passé composé").
compareTo
(mKeyForBeatles) > 0);
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
ApiConstructor.java
37
public int
compareTo
(ApiConstructor another) {
ApiMethod.java
40
public int
compareTo
(ApiMethod another) {
41
return mName.
compareTo
(another.mName);
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
NameValuePair.java
85
public int
compareTo
(NameValuePair other) {
86
int result = name.
compareTo
(other.name);
92
return value.
compareTo
(other.value);
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
Constant.java
48
public final int
compareTo
(Constant other) {
53
return clazz.getName().
compareTo
(otherClazz.getName());
/dalvik/dx/src/com/android/dx/io/
EncodedValue.java
44
@Override public int
compareTo
(EncodedValue other) {
FieldId.java
46
public int
compareTo
(FieldId other) {
MethodId.java
46
public int
compareTo
(MethodId other) {
ProtoId.java
34
public int
compareTo
(ProtoId other) {
/dalvik/dx/src/com/android/dx/merge/
TypeList.java
39
public int
compareTo
(TypeList other) {
/dalvik/dx/src/com/android/dx/rop/annotation/
NameValuePair.java
79
public int
compareTo
(NameValuePair other) {
80
int result = name.
compareTo
(other.name);
86
return value.
compareTo
(other.value);
Completed in 887 milliseconds
1
2
3
4
5
6
7
8
9
10
11