public static class CatchTable.Entry extends java.lang.Object implements java.lang.Comparable<CatchTable.Entry>
| Constructor and Description |
|---|
Entry(int start,
int end,
CatchHandlerList handlers)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CatchTable.Entry other) |
boolean |
equals(java.lang.Object other) |
int |
getEnd()
Gets the end address (exclusive).
|
CatchHandlerList |
getHandlers()
Gets the handlers.
|
int |
getStart()
Gets the start address.
|
int |
hashCode() |
public Entry(int start,
int end,
CatchHandlerList handlers)
start - >= 0; start addressend - > start; end address (exclusive)handlers - non-null; list of catch handlerspublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int compareTo(CatchTable.Entry other)
compareTo in interface java.lang.Comparable<CatchTable.Entry>public int getStart()
>= 0; the start addresspublic int getEnd()
> start; the end address (exclusive)public CatchHandlerList getHandlers()
non-null; the handlersCopyright © 2020. All Rights Reserved.