public class DuplicatedMathValidationFunction<T extends MathContainer> extends java.lang.Object implements ValidationFunction<T>
Constructor and Description |
---|
DuplicatedMathValidationFunction() |
Modifier and Type | Method and Description |
---|---|
boolean |
check(ValidationContext ctx,
T mathContainer)
Returns
true if the constraint is valid and false
if it's broken. |
public boolean check(ValidationContext ctx, T mathContainer)
ValidationFunction
true
if the constraint is valid and false
if it's broken.check
in interface ValidationFunction<T extends MathContainer>
false
if the constraint is broken