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

java.lang.Object
  extended by com.android.dx.dex.code.CatchTable.Entry
All Implemented Interfaces:
Comparable<CatchTable.Entry>
Enclosing class:
CatchTable

public static class CatchTable.Entry
extends Object
implements Comparable<CatchTable.Entry>

Entry in a catch list.


Constructor Summary
CatchTable.Entry(int start, int end, CatchHandlerList handlers)
          Constructs an instance.
 
Method Summary
 int compareTo(CatchTable.Entry other)
          
 boolean equals(Object other)
          
 int getEnd()
          Gets the end address (exclusive).
 CatchHandlerList getHandlers()
          Gets the handlers.
 int getStart()
          Gets the start address.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchTable.Entry

public CatchTable.Entry(int start,
                        int end,
                        CatchHandlerList handlers)
Constructs an instance.

Parameters:
start - >= 0; start address
end - > start; end address (exclusive)
handlers - non-null; list of catch handlers
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(CatchTable.Entry other)

Specified by:
compareTo in interface Comparable<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

public CatchHandlerList getHandlers()
Gets the handlers.

Returns:
non-null; the handlers


Copyright © 2013. All Rights Reserved.