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