edu.toronto.cs.cfa
Class CFA.CFANode

java.lang.Object
  extended by edu.toronto.cs.cfa.CFA.CFANode
Enclosing class:
CFA

public class CFA.CFANode
extends java.lang.Object

CFANode a node of a CFA a CFA node contains -- a unique identity -- a string representation -- an mvset for representing node data -- a set of edges pointing to other CFANodes

Version:
1.0
Author:
Arie Gurfinkel

Constructor Summary
CFA.CFANode(int _id, java.lang.String _strValue, MvSet _state)
           
 
Method Summary
 boolean equals(CFA.CFANode n)
           
 boolean equals(java.lang.Object o)
           
 int getId()
          Get the Id value.
 MvSet getState()
          Get the State value.
 java.lang.String getStrValue()
          Get the StrValue value.
 void setId(int newId)
          Set the Id value.
 void setState(MvSet newState)
          Set the State value.
 void setStrValue(java.lang.String newStrValue)
          Set the StrValue value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CFA.CFANode

public CFA.CFANode(int _id,
                   java.lang.String _strValue,
                   MvSet _state)
Method Detail

getState

public MvSet getState()
Get the State value.

Returns:
the State value.

setState

public void setState(MvSet newState)
Set the State value.

Parameters:
newState - The new State value.

getId

public int getId()
Get the Id value.

Returns:
the Id value.

setId

public void setId(int newId)
Set the Id value.

Parameters:
newId - The new Id value.

getStrValue

public java.lang.String getStrValue()
Get the StrValue value.

Returns:
the StrValue value.

setStrValue

public void setStrValue(java.lang.String newStrValue)
Set the StrValue value.

Parameters:
newStrValue - The new StrValue value.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(CFA.CFANode n)