public enum BuiltinConstant extends Enum<BuiltinConstant>
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(String name) |
DoubleIdentifier |
get() |
static BuiltinConstant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltinConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuiltinConstant Inf
public static final BuiltinConstant NaN
public static final BuiltinConstant pi
public static BuiltinConstant[] values()
for (BuiltinConstant c : BuiltinConstant.values()) System.out.println(c);
public static BuiltinConstant 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 nullpublic DoubleIdentifier get()
public static boolean contains(String name)
Copyright © 2020 The Apache Software Foundation. All rights reserved.