T - the type of the constrained values.public interface Constraint<T> extends Serializable
boolean accepts(T v)
true if a value satisfies the constraint.v - the value.true if the value satisfies the constraint, false if it does not.Copyright © 2018. All Rights Reserved.