Searched refs:other (Results 1 - 25 of 113) sorted by relevance

12345

/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DCstLiteral32.java38 public final boolean equals(Object other) { argument
39 return (other != null) &&
40 (getClass() == other.getClass()) &&
41 bits == ((CstLiteral32) other).bits;
52 protected int compareTo0(Constant other) { argument
53 int otherBits = ((CstLiteral32) other).bits;
H A DCstLiteral64.java38 public final boolean equals(Object other) { argument
39 return (other != null) &&
40 (getClass() == other.getClass()) &&
41 bits == ((CstLiteral64) other).bits;
52 protected int compareTo0(Constant other) { argument
53 long otherBits = ((CstLiteral64) other).bits;
H A DConstant.java48 public final int compareTo(Constant other) { argument
50 Class otherClazz = other.getClass();
56 return compareTo0(other);
63 * @param other {@code non-null;} the instance to compare to
67 protected abstract int compareTo0(Constant other); argument
H A DCstAnnotation.java45 public boolean equals(Object other) { argument
46 if (! (other instanceof CstAnnotation)) {
50 return annotation.equals(((CstAnnotation) other).annotation);
61 protected int compareTo0(Constant other) { argument
62 return annotation.compareTo(((CstAnnotation) other).annotation);
H A DCstString.java53 public boolean equals(Object other) { argument
54 if (!(other instanceof CstString)) {
58 return string.equals(((CstString) other).string);
69 protected int compareTo0(Constant other) { argument
70 return string.compareTo(((CstString) other).string);
H A DCstKnownNull.java38 public boolean equals(Object other) { argument
39 return (other instanceof CstKnownNull);
50 protected int compareTo0(Constant other) { argument
H A DCstArray.java23 * Constant type to represent a fixed array of other constants. The contents
24 * may be of any type <i>other</i> than {@link CstUtf8}.
47 public boolean equals(Object other) { argument
48 if (! (other instanceof CstArray)) {
52 return list.equals(((CstArray) other).list);
63 protected int compareTo0(Constant other) { argument
64 return list.compareTo(((CstArray) other).list);
115 public int compareTo(List other) { argument
117 int otherSize = other.size();
122 Constant otherItem = (Constant) other
[all...]
H A DCstMemberRef.java50 public final boolean equals(Object other) { argument
51 if ((other == null) || (getClass() != other.getClass())) {
55 CstMemberRef otherRef = (CstMemberRef) other;
74 protected int compareTo0(Constant other) { argument
75 CstMemberRef otherMember = (CstMemberRef) other;
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstLiteral32.java38 public final boolean equals(Object other) { argument
39 return (other != null) &&
40 (getClass() == other.getClass()) &&
41 bits == ((CstLiteral32) other).bits;
52 protected int compareTo0(Constant other) { argument
53 int otherBits = ((CstLiteral32) other).bits;
H A DCstLiteral64.java38 public final boolean equals(Object other) { argument
39 return (other != null) &&
40 (getClass() == other.getClass()) &&
41 bits == ((CstLiteral64) other).bits;
52 protected int compareTo0(Constant other) { argument
53 long otherBits = ((CstLiteral64) other).bits;
H A DConstant.java48 public final int compareTo(Constant other) { argument
50 Class otherClazz = other.getClass();
56 return compareTo0(other);
63 * @param other {@code non-null;} the instance to compare to
67 protected abstract int compareTo0(Constant other); argument
H A DCstArray.java22 * Constant type to represent a fixed array of other constants.
45 public boolean equals(Object other) { argument
46 if (! (other instanceof CstArray)) {
50 return list.equals(((CstArray) other).list);
61 protected int compareTo0(Constant other) { argument
62 return list.compareTo(((CstArray) other).list);
113 public int compareTo(List other) { argument
115 int otherSize = other.size();
120 Constant otherItem = (Constant) other.get0(i);
H A DCstAnnotation.java45 public boolean equals(Object other) { argument
46 if (! (other instanceof CstAnnotation)) {
50 return annotation.equals(((CstAnnotation) other).annotation);
61 protected int compareTo0(Constant other) { argument
62 return annotation.compareTo(((CstAnnotation) other).annotation);
H A DCstProtoRef.java46 public boolean equals(Object other) { argument
47 if (!(other instanceof CstProtoRef)) {
50 CstProtoRef otherCstProtoRef = (CstProtoRef) other;
73 protected int compareTo0(Constant other) { argument
74 CstProtoRef otherCstProtoRef = (CstProtoRef) other;
H A DCstKnownNull.java38 public boolean equals(Object other) { argument
39 return (other instanceof CstKnownNull);
50 protected int compareTo0(Constant other) { argument
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DSourcePosition.java97 public boolean equals(Object other) { argument
98 if (!(other instanceof SourcePosition)) {
102 if (this == other) {
106 SourcePosition pos = (SourcePosition) other;
121 * @param other {@code non-null;} the instance to compare to
124 public boolean sameLine(SourcePosition other) { argument
125 return (line == other.line);
132 * @param other {@code non-null;} the instance to compare to
135 public boolean sameLineAndFile(SourcePosition other) { argument
136 return (line == other
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DSourcePosition.java97 public boolean equals(Object other) { argument
98 if (!(other instanceof SourcePosition)) {
102 if (this == other) {
106 SourcePosition pos = (SourcePosition) other;
121 * @param other {@code non-null;} the instance to compare to
124 public boolean sameLine(SourcePosition other) { argument
125 return (line == other.line);
132 * @param other {@code non-null;} the instance to compare to
135 public boolean sameLineAndFile(SourcePosition other) { argument
136 return (line == other
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DCatchTable.java64 public int compareTo(CatchTable other) { argument
65 if (this == other) {
71 int otherSize = other.size();
76 Entry otherEntry = other.get(i);
140 public boolean equals(Object other) { argument
141 if (other instanceof Entry) {
142 return (compareTo((Entry) other) == 0);
149 public int compareTo(Entry other) { argument
150 if (start < other.start) {
152 } else if (start > other
[all...]
H A DCatchHandlerList.java136 public int compareTo(CatchHandlerList other) { argument
137 if (this == other) {
143 int otherSize = other.size();
148 Entry otherEntry = other.get(i);
201 public boolean equals(Object other) { argument
202 if (other instanceof Entry) {
203 return (compareTo((Entry) other) == 0);
210 public int compareTo(Entry other) { argument
211 if (handler < other.handler) {
213 } else if (handler > other
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DCatchTable.java63 public int compareTo(CatchTable other) { argument
64 if (this == other) {
70 int otherSize = other.size();
75 Entry otherEntry = other.get(i);
139 public boolean equals(Object other) { argument
140 if (other instanceof Entry) {
141 return (compareTo((Entry) other) == 0);
148 public int compareTo(Entry other) { argument
149 if (start < other.start) {
151 } else if (start > other
[all...]
H A DCatchHandlerList.java136 public int compareTo(CatchHandlerList other) { argument
137 if (this == other) {
143 int otherSize = other.size();
148 Entry otherEntry = other.get(i);
201 public boolean equals(Object other) { argument
202 if (other instanceof Entry) {
203 return (compareTo((Entry) other) == 0);
210 public int compareTo(Entry other) { argument
211 if (handler < other.handler) {
213 } else if (handler > other
[all...]
/dalvik/dx/src/com/android/dex/
H A DEncodedValue.java44 @Override public int compareTo(EncodedValue other) { argument
45 int size = Math.min(data.length, other.data.length);
47 if (data[i] != other.data[i]) {
48 return (data[i] & 0xff) - (other.data[i] & 0xff);
51 return data.length - other.data.length;
/dalvik/dexgen/src/com/android/dexgen/util/
H A DIntSet.java47 * Merges {@code other} into this set, so this set becomes the
50 * @param other {@code non-null;} other set to merge with.
52 void merge(IntSet other); argument
/dalvik/dx/src/com/android/dx/util/
H A DIntSet.java47 * Merges {@code other} into this set, so this set becomes the
50 * @param other {@code non-null;} other set to merge with.
52 void merge(IntSet other); argument
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
H A DNameValuePair.java68 public boolean equals(Object other) { argument
69 if (! (other instanceof NameValuePair)) {
73 NameValuePair otherPair = (NameValuePair) other;
85 public int compareTo(NameValuePair other) { argument
86 int result = name.compareTo(other.name);
92 return value.compareTo(other.value);

Completed in 573 milliseconds

12345