|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.type.PrimitiveValueBase
com.espertech.esper.type.DoubleValue
public class DoubleValue
Placeholder for a double value in an event expression.
Constructor Summary | |
---|---|
DoubleValue()
Constructor. |
|
DoubleValue(java.lang.Double doubleValue)
Constructor setting the value. |
Method Summary | |
---|---|
double |
getDouble()
Return the value as an unboxed. |
PrimitiveValueType |
getType()
Returns the type of primitive value this instance represents. |
java.lang.Object |
getValueObject()
Returns a value object. |
void |
parse(java.lang.String value)
Parse the string literal value into the specific data type. |
static double |
parseString(java.lang.String value)
Parse string value returning a double. |
static double[] |
parseString(java.lang.String[] values)
Parse the string array returning a double array. |
void |
setDouble(double x)
Set a double value. |
java.lang.String |
toString()
|
Methods inherited from class com.espertech.esper.type.PrimitiveValueBase |
---|
parse, setBoolean, setByte, setFloat, setInt, setLong, setShort, setString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DoubleValue()
public DoubleValue(java.lang.Double doubleValue)
doubleValue
- value to set.Method Detail |
---|
public PrimitiveValueType getType()
PrimitiveValue
public static double parseString(java.lang.String value)
value
- to parse
public final void parse(java.lang.String value)
PrimitiveValue
value
- is the textual value to parsepublic static double[] parseString(java.lang.String[] values)
values
- - string array
public final java.lang.Object getValueObject()
PrimitiveValue
public final double getDouble()
public final void setDouble(double x)
PrimitiveValue
setDouble
in interface PrimitiveValue
setDouble
in class PrimitiveValueBase
x
- is the value to setpublic final java.lang.String toString()
toString
in class java.lang.Object
|
© 2006-2015 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 |