com.android.dx.dex.code
Class CatchHandlerList.Entry

java.lang.Object
  extended by 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
CatchHandlerList.Entry(CstType exceptionType, int handler)
          Constructs an instance.
 
Method Summary
 int compareTo(CatchHandlerList.Entry other)
          
 boolean equals(Object other)
          
 CstType getExceptionType()
          Gets the exception type handled.
 int getHandler()
          Gets the handler address.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchHandlerList.Entry

public CatchHandlerList.Entry(CstType exceptionType,
                              int handler)
Constructs an instance.

Parameters:
exceptionType - non-null; type of exception handled
handler - >= 0; exception handler address
Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object other)

Overrides:
equals in class Object

compareTo

public int compareTo(CatchHandlerList.Entry other)

Specified by:
compareTo in interface Comparable<CatchHandlerList.Entry>

getExceptionType

public CstType 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


Copyright © 2013. All Rights Reserved.