|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.type.PrimitiveValueBase
net.esper.type.DoubleValue
public class DoubleValue
Placeholder for a double value in an event expression.
Constructor Summary | |
---|---|
DoubleValue()
Constructor. |
|
DoubleValue(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. |
Object |
getValueObject()
Returns a value object. |
void |
parse(String value)
Parse the string literal value into the specific data type. |
static double |
parseString(String value)
Parse string value returning a double. |
static double[] |
parseString(String[] values)
Parse the string array returning a double array. |
void |
setDouble(double x)
Set a double value. |
String |
toString()
|
Methods inherited from class net.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(Double doubleValue)
doubleValue
- value to set.Method Detail |
---|
public PrimitiveValueType getType()
PrimitiveValue
public static final double parseString(String value)
value
- to parse
public final void parse(String value)
PrimitiveValue
value
- is the textual value to parsepublic static double[] parseString(String[] values)
values
- - string array
public final 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 String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |