Class ConstraintBuilder.Constraint1Builder
- java.lang.Object
-
- de.rwth.swc.coffee4j.model.constraints.ConstraintBuilder.Constraint1Builder
-
- Enclosing class:
- ConstraintBuilder
public static final class ConstraintBuilder.Constraint1Builder extends java.lang.ObjectBuilder for giving a constraint on one parameter the correspondingBooleanFunction1.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constraintby(BooleanFunction1<?> constraint)Specified theConstraintFunctionas aBooleanFunction1for the given parameter.ConstraintBuilder.Constraint1BuilderwithName(java.lang.String name)
-
-
-
Method Detail
-
withName
public ConstraintBuilder.Constraint1Builder withName(java.lang.String name)
-
by
public Constraint by(BooleanFunction1<?> constraint)
Specified theConstraintFunctionas aBooleanFunction1for the given parameter.- Parameters:
constraint- the constraint function on the parameter- Returns:
- a constraint with the given parameter and constraint function
-
-