public final void setConstraints ( @ NonNull final Constraint < Type > [ ] constraints ) { Condition . INSTANCE . ensureNotNull ( constraints , "The constraints may not be null" ) ; Condition . INSTANCE . ensureAtLeast ( constraints . length , 1 , "The constraints may not be empty" ) ; this . constraints = constraints ; }
Sets the single constraints the constraint should consist of .