Class TrueCondition

  • All Implemented Interfaces:

    public final class TrueCondition
    extends Condition
    This class describes a boolean expression that always evaluates as true.
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • TrueCondition

        public TrueCondition()
        Default constructor.
    • Method Detail

      • clone

        public java.lang.Object clone()
        Description copied from class: Condition
        Returns a clone of this condition object.
        Specified by:
        clone in class Condition
        A clone of this condition object.
      • evaluate

        public boolean evaluate(Evaluator evaluator)
        This method will evaluate the true condition. A true condition will always return true unless the not property is set to true.
        Specified by:
        evaluate in class Condition
        evaluator - An implementation of the Evaluator interface.
        true if the condition is true.