Package com.android.dx.dex.code
Class CatchHandlerList.Entry
java.lang.Object
com.android.dx.dex.code.CatchHandlerList.Entry
- All Implemented Interfaces:
Comparable<CatchHandlerList.Entry>
- Enclosing class:
CatchHandlerList
public static class CatchHandlerList.Entry
extends Object
implements Comparable<CatchHandlerList.Entry>
Entry in the list.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(CatchHandlerList.Entry other) boolean
Gets the exception type handled.int
Gets the handler address.int
hashCode()
-
Constructor Details
-
Entry
Constructs an instance.- Parameters:
exceptionType
-non-null;
type of exception handledhandler
->= 0;
exception handler address
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<CatchHandlerList.Entry>
-
getExceptionType
Gets the exception type handled.- Returns:
non-null;
the exception type
-
getHandler
public int getHandler()Gets the handler address.- Returns:
>= 0;
the handler address
-