com.android.dx.io.instructions
Class AddressMap

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

public final class AddressMap
extends Object

Map from addresses to addresses, where addresses are all ints.


Constructor Summary
AddressMap()
          Constructs an instance.
 
Method Summary
 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 Detail

AddressMap

public AddressMap()
Constructs an instance.

Method Detail

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.



Copyright © 2015. All rights reserved.