Class CatchTable.Entry
java.lang.Object
com.android.dx.dex.code.CatchTable.Entry
- All Implemented Interfaces:
Comparable<CatchTable.Entry>
- Enclosing class:
CatchTable
Entry in a catch list.
-
Constructor Summary
ConstructorsConstructorDescriptionEntry(int start, int end, CatchHandlerList handlers) Constructs an instance. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(CatchTable.Entry other) booleanintgetEnd()Gets the end address (exclusive).Gets the handlers.intgetStart()Gets the start address.inthashCode()
-
Constructor Details
-
Entry
Constructs an instance.- Parameters:
start->= 0;start addressend-> start;end address (exclusive)handlers-non-null;list of catch handlers
-
-
Method Details
-
hashCode
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<CatchTable.Entry>
-
getStart
public int getStart()Gets the start address.- Returns:
>= 0;the start address
-
getEnd
public int getEnd()Gets the end address (exclusive).- Returns:
> start;the end address (exclusive)
-
getHandlers
-