public class StringLengthConstraint extends ValuedConstraint<java.lang.Integer,java.lang.CharSequence>
| Constructor and Description |
|---|
StringLengthConstraint(Constraints type,
java.lang.Integer value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(java.lang.CharSequence value) |
getValuegetTypepublic StringLengthConstraint(Constraints type, java.lang.Integer value)
public boolean test(java.lang.CharSequence value)
test in class Constraint<java.lang.CharSequence>