net.esper.eql.expression
Class ExprCastNode.FloatCaster
java.lang.Object
net.esper.eql.expression.ExprCastNode.FloatCaster
- All Implemented Interfaces:
- ExprCastNode.Caster
- Enclosing class:
- ExprCastNode
public class ExprCastNode.FloatCaster
- extends Object
- implements ExprCastNode.Caster
Cast implementation for numeric values.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprCastNode.FloatCaster
public ExprCastNode.FloatCaster()
cast
public Object cast(Object object)
- Description copied from interface:
ExprCastNode.Caster
- Casts an object to another type.
Performs a compatibility check and returns null if not compatible.
- Specified by:
cast
in interface ExprCastNode.Caster
- Parameters:
object
- to cast
- Returns:
- casted or transformed object, possibly the same, or null if the cast cannot be made