Package com.gdblab.pathAlgebra.syntax
Class CompoundComplexCondition
- java.lang.Object
-
- com.gdblab.pathAlgebra.syntax.CompoundComplexCondition
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CompoundComplexCondition>
public class CompoundComplexCondition extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<CompoundComplexCondition>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Conditionlhsstatic NameLHSName of thecom.gdblab.pathAlgebra.syntax.CompoundComplexCondition.lhsfield.BoolOpoperatorstatic NameOPERATORName of thecom.gdblab.pathAlgebra.syntax.CompoundComplexCondition.operatorfield.ComplexConditionrhsstatic NameRHSName of thecom.gdblab.pathAlgebra.syntax.CompoundComplexCondition.rhsfield.static NameTYPE_Name of thecom.gdblab.pathAlgebra.syntax.CompoundComplexConditiontype.
-
Constructor Summary
Constructors Constructor Description CompoundComplexCondition(Condition lhs, BoolOp operator, ComplexCondition rhs)Constructs an immutableCompoundComplexCondition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CompoundComplexCondition other)booleanequals(java.lang.Object other)inthashCode()CompoundComplexConditionwithLhs(Condition lhs)Returns a copy of thisCompoundComplexConditionwithlhsreplaced.CompoundComplexConditionwithOperator(BoolOp operator)Returns a copy of thisCompoundComplexConditionwithoperatorreplaced.CompoundComplexConditionwithRhs(ComplexCondition rhs)Returns a copy of thisCompoundComplexConditionwithrhsreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thecom.gdblab.pathAlgebra.syntax.CompoundComplexConditiontype.
-
LHS
public static final Name LHS
Name of thecom.gdblab.pathAlgebra.syntax.CompoundComplexCondition.lhsfield.
-
OPERATOR
public static final Name OPERATOR
Name of thecom.gdblab.pathAlgebra.syntax.CompoundComplexCondition.operatorfield.
-
RHS
public static final Name RHS
Name of thecom.gdblab.pathAlgebra.syntax.CompoundComplexCondition.rhsfield.
-
lhs
public final Condition lhs
-
operator
public final BoolOp operator
-
rhs
public final ComplexCondition rhs
-
-
Constructor Detail
-
CompoundComplexCondition
public CompoundComplexCondition(Condition lhs, BoolOp operator, ComplexCondition rhs)
Constructs an immutableCompoundComplexCondition.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(CompoundComplexCondition other)
- Specified by:
compareToin interfacejava.lang.Comparable<CompoundComplexCondition>
-
withLhs
public CompoundComplexCondition withLhs(Condition lhs)
Returns a copy of thisCompoundComplexConditionwithlhsreplaced.
-
withOperator
public CompoundComplexCondition withOperator(BoolOp operator)
Returns a copy of thisCompoundComplexConditionwithoperatorreplaced.
-
withRhs
public CompoundComplexCondition withRhs(ComplexCondition rhs)
Returns a copy of thisCompoundComplexConditionwithrhsreplaced.
-
-