public interface NumericElement extends Element
Elements.| Modifier and Type | Method and Description |
|---|---|
double |
getDoubleValue()
Returns the value cast to a double.
|
int |
getIntValue()
Returns the value cast to an integer.
|
long |
getLongValue()
Returns the value cast to a long.
|
accept, find, find, findFirst, findFirst, getName, getType, queryPath, queryPath, withNameasElementdouble getDoubleValue()
Note: There may be a loss of precision using this method if the
NumericElement is not a
DoubleElement.
int getIntValue()
Note: There may be a loss of precision using this method if the
NumericElement is not a
IntegerElement.
long getLongValue()
Note: There may be a loss of precision using this method if the
NumericElement is not a
LongElement.
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.