public class Not<T> extends BaseConstraint<T>
| Constructor and Description |
|---|
Not(Constraint<T> c)
Creates an instance from one more constraints.
|
public Not(Constraint<T> c)
public boolean accepts(T t)
Constrainttrue if a value satisfies the constraint.t - the value.true if the value satisfies the constraint, false if it does not.public String toString()
toString in class BaseConstraint<T>Copyright © 2018. All Rights Reserved.