edu.cmu.cs.crystal.flow
Class BooleanLabel

java.lang.Object
  extended by 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

Method Summary
static BooleanLabel getBooleanLabel(boolean labelValue)
           
 boolean getBranchValue()
           
 String getLabel()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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