edu.cmu.cs.crystal.flow
Class BooleanLabel
java.lang.Object
edu.cmu.cs.crystal.flow.BooleanLabel
- All Implemented Interfaces:
- ILabel
public class BooleanLabel
- extends Object
- implements ILabel
A boolean label is a label which is either true or false. The true
and false labels can be retrieved with getBooleanLabel(boolean).
It occurs branches from boolean expressions.
- Author:
- ciera
getBooleanLabel
public static BooleanLabel getBooleanLabel(boolean labelValue)
- Parameters:
labelValue
-
- Returns:
- the BooleanLabel for the boolean passed in
getLabel
public String getLabel()
- Specified by:
getLabel
in interface ILabel
getBranchValue
public boolean getBranchValue()
toString
public String toString()
- Overrides:
toString
in class Object