Package tools.refinery.logic.literal
Class AbstractCountLiteral<T>
java.lang.Object
tools.refinery.logic.literal.AbstractLiteral
tools.refinery.logic.literal.AbstractCallLiteral
tools.refinery.logic.literal.AbstractCountLiteral<T>
- All Implemented Interfaces:
Literal
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractCountLiteral(Class<T> resultType, DataVariable<T> resultVariable, Constraint target, List<Variable> arguments) -
Method Summary
Modifier and TypeMethodDescriptionbooleanequalsWithSubstitution(LiteralEqualityHelper helper, Literal other) intprotected abstract Tone()protected abstract Stringreduce()toString()protected abstract Tzero()Methods inherited from class tools.refinery.logic.literal.AbstractCallLiteral
doSubstitute, getArguments, getArgumentsOfDirection, getInputVariables, getPrivateVariables, getTarget, substitute, withArguments, withTargetMethods inherited from class tools.refinery.logic.literal.AbstractLiteral
equals, hashCode
-
Constructor Details
-
AbstractCountLiteral
protected AbstractCountLiteral(Class<T> resultType, DataVariable<T> resultVariable, Constraint target, List<Variable> arguments)
-
-
Method Details
-
getResultType
-
getResultVariable
-
getOutputVariables
-
zero
-
one
-
reduce
-
equalsWithSubstitution
- Specified by:
equalsWithSubstitutionin interfaceLiteral- Overrides:
equalsWithSubstitutionin classAbstractCallLiteral
-
hashCodeWithSubstitution
- Specified by:
hashCodeWithSubstitutionin interfaceLiteral- Overrides:
hashCodeWithSubstitutionin classAbstractCallLiteral
-
operatorName
-
toString
-