net.esper.eql.expression
Interface ExprCastNode.Caster

All Known Implementing Classes:
ExprCastNode.ByteCaster, ExprCastNode.DoubleCaster, ExprCastNode.FloatCaster, ExprCastNode.IntCaster, ExprCastNode.LongCaster, ExprCastNode.ShortCaster, ExprCastNode.TypeCaster
Enclosing class:
ExprCastNode

public static interface ExprCastNode.Caster

Interface for casting.


Method Summary
 Object cast(Object object)
          Casts an object to another type.
 

Method Detail

cast

Object cast(Object object)
Casts an object to another type.

Performs a compatibility check and returns null if not compatible.

Parameters:
object - to cast
Returns:
casted or transformed object, possibly the same, or null if the cast cannot be made

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com