org.jikesrvm.compilers.opt.dfsolver
Class DF_Solution
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<Object,DF_LatticeCell>
org.jikesrvm.compilers.opt.dfsolver.DF_Solution
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,DF_LatticeCell>
public class DF_Solution
- extends HashMap<Object,DF_LatticeCell>
Represents the solution to a system of Data Flow equations.
Namely, a function mapping Objects to DF_LatticeCells
- See Also:
- Serialized Form
Field Summary |
(package private) static long |
serialVersionUID
Support for serialization |
Method Summary |
Object |
lookup(Object k)
Return the lattice cell corresponding to an object |
String |
toString()
Return a string representation of the dataflow solution |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
serialVersionUID
static final long serialVersionUID
- Support for serialization
- See Also:
- Constant Field Values
DF_Solution
public DF_Solution()
toString
public String toString()
- Return a string representation of the dataflow solution
- Overrides:
toString
in class AbstractMap<Object,DF_LatticeCell>
- Returns:
- a string representation of the dataflow solution
lookup
public Object lookup(Object k)
- Return the lattice cell corresponding to an object
- Parameters:
k
- the object to look up
- Returns:
- its lattice cell