public interface FSIntConstraint extends FSConstraint
 To use the constraint, invoke its match(int) method, passing the value to test. You can
 also embed this test with a path specification, using the
 ConstraintFactory.embedConstraint(FeaturePath, FSConstraint) method,
 and use it to test feature structures, or combine it with other tests using the
 ConstraintFactory.and(FSMatchConstraint, FSMatchConstraint) and
 ConstraintFactory.or(FSMatchConstraint, FSMatchConstraint) methods.
| Modifier and Type | Method and Description | 
|---|---|
| void | eq(int i)Require int value to be equal  i. | 
| void | geq(int i)Require int value to be greater than or equal to  i. | 
| void | gt(int i)Require int value to be greater than  i. | 
| void | leq(int i)Require int value to be less than or equal to  i. | 
| void | lt(int i)Require int value to be less than  i. | 
| boolean | match(int i)Check if integer matches defined constraints. | 
void eq(int i)
i.i - Matched value must be equal to this.void lt(int i)
i.i - Matched value must be less than this.void leq(int i)
i.i - Matched value must be less than or equal to this.void gt(int i)
i.i - Matched value must be greater than this.void geq(int i)
i.i - Matched value must be greater than or equal to this.boolean match(int i)
i - The int to be checked.true iff the int satisfies the constraints.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.