Interface Constraint<T>
-
- All Superinterfaces:
BiFunction<T,Field,ConstraintError>
- All Known Implementing Classes:
BooleanConstraint,DefaultInitializedConstraint,EmptyContainerConstraint,IntegerRangeConstraint,NullConstraint
public interface Constraint<T> extends BiFunction<T,Field,ConstraintError>
Constraint which will be checked and result in some ConstraintError or if there is no Error in
ConstraintError.NoError- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<T>getType()booleanisBreakingConstraint()-
Methods inherited from interface java.util.function.BiFunction
andThen, apply
-
-