Class CatchTable.Entry

java.lang.Object
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 Details

    • Entry

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

    • 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