public class CountAssertionExpression extends Object implements AssertionExpression<Integer>
| Constructor and Description |
|---|
CountAssertionExpression(Variable<?> variable,
RuntimeExceptionHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AssertionExpressionVisitor assertionExpressionVisitor) |
<O> O |
accept(AssertionExpressionVisitorEx<O> assertionExpressionVisitor) |
boolean |
equals(Object obj) |
RuntimeExceptionHandler |
getHandler() |
Variable<?> |
getVariable() |
int |
hashCode() |
Integer |
resolve(Set<? extends BindingNode> bindings,
ConstraintSystem constraintSystem)
Resolves the expression according to the input set of bindings.
|
String |
toString() |
public CountAssertionExpression(Variable<?> variable, RuntimeExceptionHandler handler)
variable - variablehandler - handlerpublic Variable<?> getVariable()
public void accept(AssertionExpressionVisitor assertionExpressionVisitor)
accept in interface AssertionExpression<Integer>assertionExpressionVisitor - assertionExpressionVisitorpublic <O> O accept(AssertionExpressionVisitorEx<O> assertionExpressionVisitor)
accept in interface AssertionExpression<Integer>assertionExpressionVisitor - assertionExpressionVisitorpublic Integer resolve(Set<? extends BindingNode> bindings, ConstraintSystem constraintSystem)
AssertionExpressionresolve in interface AssertionExpression<Integer>bindings - The Set of bindings providing value for the variables. Cannot
be null.constraintSystem - Cannot be null.T.public RuntimeExceptionHandler getHandler()
Copyright © 2014 The University of Manchester. All Rights Reserved.