Class DoubleConstraint
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.nodetype.constraint.NumericConstraint<Double>
-
- org.apache.jackrabbit.oak.plugins.nodetype.constraint.DoubleConstraint
-
public class DoubleConstraint extends NumericConstraint<Double>
-
-
Constructor Summary
Constructors Constructor Description DoubleConstraint(String definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DoublegetBound(String bound)protected DoublegetValue(Value value)protected booleanless(Double val, Double bound)-
Methods inherited from class org.apache.jackrabbit.oak.plugins.nodetype.constraint.NumericConstraint
equals, greater, greaterOrEqual, lessOrEqual, test, toString
-
-
-
-
Constructor Detail
-
DoubleConstraint
public DoubleConstraint(String definition)
-
-
Method Detail
-
getBound
protected Double getBound(String bound)
- Specified by:
getBoundin classNumericConstraint<Double>
-
getValue
protected Double getValue(Value value) throws RepositoryException
- Specified by:
getValuein classNumericConstraint<Double>- Throws:
RepositoryException
-
less
protected boolean less(Double val, Double bound)
- Specified by:
lessin classNumericConstraint<Double>
-
-