|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.expression.ExprCastNode.TypeCaster
public class ExprCastNode.TypeCaster
Cast implementation for non-numeric values.
Constructor Summary | |
---|---|
ExprCastNode.TypeCaster(Class typeToCastTo)
Ctor. |
Method Summary | |
---|---|
Object |
cast(Object object)
Casts an object to another type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExprCastNode.TypeCaster(Class typeToCastTo)
typeToCastTo
- is the target typeMethod Detail |
---|
public Object cast(Object object)
ExprCastNode.Caster
Performs a compatibility check and returns null if not compatible.
cast
in interface ExprCastNode.Caster
object
- to cast
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |