Methods Summary |
---|
public int | compareTo(com.android.dexgen.dex.code.CatchTable other){@inheritDoc}
if (this == other) {
// Easy out.
return 0;
}
int thisSize = size();
int otherSize = other.size();
int checkSize = Math.min(thisSize, otherSize);
for (int i = 0; i < checkSize; i++) {
Entry thisEntry = get(i);
Entry otherEntry = other.get(i);
int compare = thisEntry.compareTo(otherEntry);
if (compare != 0) {
return compare;
}
}
if (thisSize < otherSize) {
return -1;
} else if (thisSize > otherSize) {
return 1;
}
return 0;
|
public com.android.dexgen.dex.code.CatchTable$Entry | get(int n)Gets the element at the given index. It is an error to call
this with the index for an element which was never set; if you
do that, this will throw {@code NullPointerException}.
return (Entry) get0(n);
|
public void | set(int n, com.android.dexgen.dex.code.CatchTable$Entry entry)Sets the entry at the given index.
set0(n, entry);
|