public interface FSFloatConstraint extends FSConstraint
 To use the constraint, invoke its match(float) 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(float f)Require float value to be equal  f. | 
| void | geq(float f)Require float value to be greater than or equal to  f. | 
| void | gt(float f)Require float value to be greater than  f. | 
| void | leq(float f)Require float value to be less than or equal to  f. | 
| void | lt(float f)Require float value to be less than  f. | 
| boolean | match(float f)Check if float matches defined constraints. | 
void eq(float f)
f.f - Matched value must be equal to this.void lt(float f)
f.f - Matched value must be less than this.void leq(float f)
f.f - Matched value must be less than or equal to this.void gt(float f)
f.f - Matched value must be greater than this.void geq(float f)
f.f - Matched value must be greater than or equal to this.boolean match(float f)
f - The float to be checked.true iff the float satisfies the constraints.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.