Searched refs:compareTo (Results 1 - 25 of 77) sorted by relevance

1234

/dalvik/tests/069-field-type/src2/
H A DBlah.java6 public int compareTo(Object another) { method in class:Blah
7 System.out.println("In compareTo");
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DConstant.java48 public final int compareTo(Constant other) { method in class:Constant
53 return clazz.getName().compareTo(otherClazz.getName());
H A DCstArray.java64 return list.compareTo(((CstArray) other).list);
115 public int compareTo(List other) { method in class:CstArray.List
123 int compare = thisItem.compareTo(otherItem);
H A DCstMemberRef.java76 int cmp = definingClass.compareTo(otherMember.definingClass);
85 return thisName.compareTo(otherName);
H A DCstNat.java81 int cmp = name.compareTo(otherNat.name);
87 return descriptor.compareTo(otherNat.descriptor);
/dalvik/dx/src/com/android/dx/rop/cst/
H A DConstant.java48 public final int compareTo(Constant other) { method in class:Constant
53 return clazz.getName().compareTo(otherClazz.getName());
H A DCstArray.java62 return list.compareTo(((CstArray) other).list);
113 public int compareTo(List other) { method in class:CstArray.List
121 int compare = thisItem.compareTo(otherItem);
H A DCstMemberRef.java76 int cmp = definingClass.compareTo(otherMember.definingClass);
85 return thisName.compareTo(otherName);
H A DCstNat.java81 int cmp = name.compareTo(otherNat.name);
87 return descriptor.compareTo(otherNat.descriptor);
/dalvik/tests/021-string2/src/
H A DMain.java35 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);
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DCatchTable.java64 public int compareTo(CatchTable other) { method in class:CatchTable
77 int compare = thisEntry.compareTo(otherEntry);
142 return (compareTo((Entry) other) == 0);
149 public int compareTo(Entry other) { method in class:CatchTable.Entry
162 return handlers.compareTo(other.handlers);
H A DCatchHandlerList.java136 public int compareTo(CatchHandlerList other) { method in class:CatchHandlerList
149 int compare = thisEntry.compareTo(otherEntry);
203 return (compareTo((Entry) other) == 0);
210 public int compareTo(Entry other) { method in class:CatchHandlerList.Entry
217 return exceptionType.compareTo(other.exceptionType);
/dalvik/dx/src/com/android/dx/dex/code/
H A DCatchTable.java63 public int compareTo(CatchTable other) { method in class:CatchTable
76 int compare = thisEntry.compareTo(otherEntry);
141 return (compareTo((Entry) other) == 0);
148 public int compareTo(Entry other) { method in class:CatchTable.Entry
161 return handlers.compareTo(other.handlers);
H A DCatchHandlerList.java136 public int compareTo(CatchHandlerList other) { method in class:CatchHandlerList
149 int compare = thisEntry.compareTo(otherEntry);
203 return (compareTo((Entry) other) == 0);
210 public int compareTo(Entry other) { method in class:CatchHandlerList.Entry
217 return exceptionType.compareTo(other.exceptionType);
/dalvik/tests/069-field-type/src/
H A DMain.java30 cmp.compareTo(cmp);
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
H A DNameValuePair.java85 public int compareTo(NameValuePair other) { method in class:NameValuePair
86 int result = name.compareTo(other.name);
92 return value.compareTo(other.value);
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DLocalItem.java68 return 0 == compareTo(local);
72 * Compares two strings like String.compareTo(), excepts treats a null
76 * with Comparable.compareTo()
86 return a.compareTo(b);
91 public int compareTo(LocalItem local) { method in class:LocalItem
/dalvik/dx/src/com/android/dx/rop/annotation/
H A DNameValuePair.java79 public int compareTo(NameValuePair other) { method in class:NameValuePair
80 int result = name.compareTo(other.name);
86 return value.compareTo(other.value);
/dalvik/dx/src/com/android/dx/rop/code/
H A DLocalItem.java68 return 0 == compareTo(local);
72 * Compares two strings like String.compareTo(), excepts treats a null
76 * with Comparable.compareTo()
86 return a.compareTo(b);
91 public int compareTo(LocalItem local) { method in class:LocalItem
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DStringIdItem.java69 public int compareTo(Object other) { method in class:StringIdItem
71 return value.compareTo(otherString.value);
H A DEncodedField.java68 return compareTo((EncodedField) other) == 0;
79 public int compareTo(EncodedField other) { method in class:EncodedField
80 return field.compareTo(other.field);
/dalvik/dx/src/com/android/dx/dex/file/
H A DStringIdItem.java67 public int compareTo(Object other) { method in class:StringIdItem
69 return value.compareTo(otherString.value);
H A DEncodedField.java67 return compareTo((EncodedField) other) == 0;
78 public int compareTo(EncodedField other) { method in class:EncodedField
79 return field.compareTo(other.field);
/dalvik/tests/020-string/src/
H A DMain.java43 System.out.println("Compare result is " + testStr.compareTo(testStr2));
48 System.out.println("Compare unicode: " + s1.compareTo(s2));
/dalvik/tests/082-inline-execute/src/
H A DMain.java150 Assert.assertEquals(str32.compareTo(str33), -1);
151 Assert.assertEquals(str33.compareTo(str32), 1);
157 Assert.assertEquals(test.compareTo(test1), 0);
158 Assert.assertTrue(test1.compareTo(test2) > 0);
159 Assert.assertTrue(test2.compareTo(test1) < 0);
162 Assert.assertEquals(test.compareTo(sub), 0);
163 Assert.assertEquals(sub.compareTo(test), 0);
174 test.compareTo(null);

Completed in 503 milliseconds

1234