public class StartsWithConstraint extends Object implements Constraint
| Constructor and Description |
|---|
StartsWithConstraint(String prefix) |
StartsWithConstraint(String prefix,
boolean inclusive) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrefix() |
boolean |
isInclusive() |
boolean |
isSatisfiedBy(Object value) |
String |
toString() |
public StartsWithConstraint(String prefix)
public StartsWithConstraint(String prefix, boolean inclusive)
public String getPrefix()
public boolean isInclusive()
public boolean isSatisfiedBy(Object value)
isSatisfiedBy in interface ConstraintCopyright © 2015. All rights reserved.