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

    Constructors
    Constructor
    Description
    Constructs an instance.
  • Method Summary

    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

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

    • AddressMap

      public AddressMap()
      Constructs an instance.
  • Method Details

    • get

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

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