@Beta public static enum YangXPathParserFactory.MathMode extends Enum<YangXPathParserFactory.MathMode>
YangXPathParser
number compliance knobs. This enumeration defines what assumptions the parser can make --
affecting its optimization properties around
constant folding when number expressions are
involved.Enum Constant and Description |
---|
EXACT
All number expressions are treated as infinite-precision numbers.
|
IEEE754
All number expressions are treated as
double . |
Modifier and Type | Method and Description |
---|---|
static YangXPathParserFactory.MathMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YangXPathParserFactory.MathMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YangXPathParserFactory.MathMode IEEE754
double
. This in spirit of XPath 1.0 -- any number expression
starts its life as a double, making all operations subject to IEEE754 rounding and range rules.public static final YangXPathParserFactory.MathMode EXACT
int
, long
or BigInteger
.public static YangXPathParserFactory.MathMode[] values()
for (YangXPathParserFactory.MathMode c : YangXPathParserFactory.MathMode.values()) System.out.println(c);
public static YangXPathParserFactory.MathMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 OpenDaylight. All rights reserved.