Package net.sf.basedb.util.jep.convert
Class FloatConverter
java.lang.Object
net.sf.basedb.util.jep.convert.AbstractJepConversionFunction<Number>
net.sf.basedb.util.jep.convert.FloatConverter
- All Implemented Interfaces:
JepConversionFunction<Number>
Convert a
Number
constant
to a Query API Expression
from the float value.- Version:
- 2.4
- Author:
- nicklas
- Last modified
- $Date: 2008-09-11 22:08:14 +0200 (to, 11 sep 2008) $
-
Constructor Summary
-
Method Summary
Methods inherited from class net.sf.basedb.util.jep.convert.AbstractJepConversionFunction
getDescription, getName, isFunction, isOperator, toRestriction
-
Constructor Details
-
FloatConverter
public FloatConverter()
-
-
Method Details
-
toExpression
Convert to expression by callingExpressions.aFloat(float)
.- Specified by:
toExpression
in interfaceJepConversionFunction<Number>
- Overrides:
toExpression
in classAbstractJepConversionFunction<Number>
- Parameters:
f
- The object to convert- Returns:
- An expression or null
-