coins.opt
Class TempInfo

java.lang.Object
  extended bycoins.opt.TempInfo

class TempInfo
extends java.lang.Object

Information of replaced temp var and corresponds global variable.


Field Summary
protected  java.util.Map fTempVarMap
          Map of global var to temporal var whitch replaced.
 
Constructor Summary
TempInfo()
          Construct this object.
 
Method Summary
 void clear()
          Clear this object.
 Var get(Sym pSym)
          Get temporal var whitch replaced.
 void set(Sym pSym, Var pVar)
          Set temporal var whitch replaced
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fTempVarMap

protected java.util.Map fTempVarMap
Map of global var to temporal var whitch replaced. this map is formed as following. key : global var. element : temporal var, whitch is replaced.

Constructor Detail

TempInfo

public TempInfo()
Construct this object.

Method Detail

clear

public void clear()
Clear this object.


get

public Var get(Sym pSym)
Get temporal var whitch replaced.

Parameters:
pSym - gloval var.
Returns:
temporal var whitch replaced.

set

public void set(Sym pSym,
                Var pVar)
Set temporal var whitch replaced

Parameters:
pSym - global var.
pVar - temporal var whitch replaced.