Class BooleanIdentity
- All Implemented Interfaces:
FixedPointConstants
Operator OUT = IN
-
Field Summary
Fields inherited from interface FixedPointConstants
CHANGED, CHANGED_AND_FIXED, CHANGED_MASK, FIXED_MASK, NOT_CHANGED, NOT_CHANGED_AND_FIXED, SIDE_EFFECT_MASK -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyteevaluate(@Nullable BooleanVariable lhs, BooleanVariable rhs) Evaluate this equation, setting a new value for the left-hand side.inthashCode()static BooleanIdentityinstance()booleantoString()Methods inherited from class UnaryOperator
evaluate, makeEquation
-
Method Details
-
instance
-
evaluate
public byte evaluate(@Nullable BooleanVariable lhs, BooleanVariable rhs) throws IllegalArgumentException Description copied from class:UnaryOperatorEvaluate this equation, setting a new value for the left-hand side.- Specified by:
evaluatein classUnaryOperator<BooleanVariable>- Returns:
- a constant defined by
FixedPointConstantsthat reflects whether the lhs value changed - Throws:
IllegalArgumentException
-
toString
- Specified by:
toStringin classAbstractOperator<BooleanVariable>
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractOperator<BooleanVariable>
-
equals
- Specified by:
equalsin classAbstractOperator<BooleanVariable>
-
isIdentity
public boolean isIdentity()- Overrides:
isIdentityin classUnaryOperator<BooleanVariable>
-