| java.lang.Object soot.util.UnitMap
UnitMap | abstract public class UnitMap implements Map(Code) | | Maps each unit to the result of mapTo .
|
Constructor Summary | |
public | UnitMap(Body b) maps each unit of this body to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized without any parameter. | public | UnitMap(UnitGraph g) maps each unit of the graph to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized without any parameter. | public | UnitMap(Body b, int initialCapacity) maps each unit of this body to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized to initialCapacity . | public | UnitMap(UnitGraph g, int initialCapacity) maps each unit of the graph to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized to initialCapacity . | public | UnitMap(Body b, int initialCapacity, float loadFactor) maps each unit of this body to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized to initialCapacity and
loadFactor . | public | UnitMap(UnitGraph g, int initialCapacity, float loadFactor) maps each unit of the graph to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized to initialCapacity and
loadFactor . |
UnitMap | public UnitMap(Body b)(Code) | | maps each unit of this body to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized without any parameter.
Parameters: b - a Body |
UnitMap | public UnitMap(UnitGraph g)(Code) | | maps each unit of the graph to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized without any parameter.
Parameters: g - a UnitGraph |
UnitMap | public UnitMap(Body b, int initialCapacity)(Code) | | maps each unit of this body to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized to initialCapacity .
Parameters: b - a Body Parameters: initialCapacity - the initialCapacity of the internal hashtable. |
UnitMap | public UnitMap(UnitGraph g, int initialCapacity)(Code) | | maps each unit of the graph to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized to initialCapacity .
Parameters: g - a UnitGraph Parameters: initialCapacity - the initialCapacity of the internal hashtable. |
UnitMap | public UnitMap(Body b, int initialCapacity, float loadFactor)(Code) | | maps each unit of this body to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized to initialCapacity and
loadFactor .
Parameters: b - a Body Parameters: initialCapacity - the initialCapacity of the internal hashtable. Parameters: loadFactor - the loadFactor of the internal hashtable. |
UnitMap | public UnitMap(UnitGraph g, int initialCapacity, float loadFactor)(Code) | | maps each unit of the graph to the result of mapTo .
before the mapping the method init is called.
the internal hashtable is initialized to initialCapacity and
loadFactor .
Parameters: g - a UnitGraph Parameters: initialCapacity - the initialCapacity of the internal hashtable. Parameters: loadFactor - the loadFactor of the internal hashtable. |
clear | public void clear()(Code) | | |
containsValue | public boolean containsValue(Object value)(Code) | | |
hashCode | public int hashCode()(Code) | | |
init | protected void init()(Code) | | allows one-time initialization before any mapping. This method is called
before any mapping of a unit (but only once in the beginning).
If not overwritten does nothing.
|
isEmpty | public boolean isEmpty()(Code) | | |
mapTo | abstract protected Object mapTo(Unit unit)(Code) | | maps a unit to an object. This method is called for every unit. If
the returned object is null no object will be mapped.
Parameters: the - Unit to which o should be mapped. an object that is mapped to the unit, or null . |
|
|