coins.opt
クラス ReplaceInfo.Item

java.lang.Object
  |
  +--coins.opt.ReplaceInfo.Item
含まれているクラス:
ReplaceInfo

class ReplaceInfo.Item
extends java.lang.Object

title: class Item

description: Information of global variable whitch is related by key of Map structure. It has following contants.


フィールドの概要
protected  int fCount
           
protected  Var fReplacedVar
           
protected  java.util.List fReplaceNodeList
           
 
コンストラクタの概要
ReplaceInfo.Item()
          Construct this object.
 
メソッドの概要
 void add(VarNode pReplaceVarNode)
          Add using of VarNode, and this node may be replaced by temporal var, so add to list of replacenode.
 void clear()
          Clear this object.
 int getCount()
          Get use count.
 Var getReplacedVar()
          Get temporal var whitch replaced.
 int getReplaceNodeCount()
          Get count of list of VarNodes whitch replace.
 java.util.List getReplaceNodeList()
          Get list of VarNodes whitch replace.
 boolean removeReplacdNode(VarNode pReplacedNode)
          Remove VarNode from ReplaceNodeList, when it is replaced by temporal variable.
 void setReplacedVar(Var pVar)
          Set temporal var whitch replaced
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

fCount

protected int fCount

fReplacedVar

protected Var fReplacedVar

fReplaceNodeList

protected java.util.List fReplaceNodeList
コンストラクタの詳細

ReplaceInfo.Item

public ReplaceInfo.Item()
Construct this object.

メソッドの詳細

clear

public void clear()
Clear this object.


getCount

public int getCount()
Get use count.

戻り値:
use count.

getReplacedVar

public Var getReplacedVar()
Get temporal var whitch replaced.

戻り値:
temporal var whitch replaced.

setReplacedVar

public void setReplacedVar(Var pVar)
Set temporal var whitch replaced

パラメータ:
pVar - temporal var whitch replaced.

getReplaceNodeList

public java.util.List getReplaceNodeList()
Get list of VarNodes whitch replace.

戻り値:
List of VarNodes whitch replace.

getReplaceNodeCount

public int getReplaceNodeCount()
Get count of list of VarNodes whitch replace.

戻り値:
Count of list of VarNodes whitch replace.

add

public void add(VarNode pReplaceVarNode)
Add using of VarNode, and this node may be replaced by temporal var, so add to list of replacenode.

パラメータ:
pReplaceVarNode - Var node whitch may be replaced by temporal var.

removeReplacdNode

public boolean removeReplacdNode(VarNode pReplacedNode)
Remove VarNode from ReplaceNodeList, when it is replaced by temporal variable.

パラメータ:
pReplacedNode - Removed var node whitch is replaced.
戻り値:
true if removed, false else.