UnitStorage

public final class UnitStorage<T>

Storage object to store some piece of information for each Unit of a given CallGraph.

Constructors

UnitStorage

public UnitStorage(CallGraph callGraph)

Creates a new UnitStorage for all Unit’s of the given “callGraph”. Each cell is initialized to null.

Methods

retrieve

public T retrieve(Unit unit)

Retrieves the value of the info attached to “unit”.

store

public void store(Unit unit, T value)

Stores “value” into the info attached to “unit”.

toString

public String toString()