Class AddressMap

java.lang.Object
com.android.dx.io.instructions.AddressMap

public final class AddressMap extends Object
Map from addresses to addresses, where addresses are all ints.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Constructs an instance.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    int
    get(int keyAddress)
    Gets the value address corresponding to the given key address.
    void
    put(int keyAddress, int valueAddress)
    Sets the value address associated with the given key address.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • AddressMap Link icon

      public AddressMap()
      Constructs an instance.
  • Method Details Link icon

    • get Link icon

      public int get(int keyAddress)
      Gets the value address corresponding to the given key address. Returns -1 if there is no mapping.
    • put Link icon

      public void put(int keyAddress, int valueAddress)
      Sets the value address associated with the given key address.