public static enum NumberPrototypeBuiltins.NumberPrototype extends Enum<NumberPrototypeBuiltins.NumberPrototype> implements BuiltinEnum<NumberPrototypeBuiltins.NumberPrototype>
Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
toExponential |
toFixed |
toLocaleString |
toPrecision |
toString |
valueOf |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength() |
static NumberPrototypeBuiltins.NumberPrototype |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberPrototypeBuiltins.NumberPrototype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfargs, asEnum, createNode, getECMAScriptVersion, getKey, getName, isAnnexB, isAOTSupported, isConfigurable, isConstructor, isEnabled, isEnumerable, isGetter, isNewTargetConstructor, isSetter, isWritable, prependAccessorPrefix, stripNamepublic static final NumberPrototypeBuiltins.NumberPrototype toExponential
public static final NumberPrototypeBuiltins.NumberPrototype toFixed
public static final NumberPrototypeBuiltins.NumberPrototype toLocaleString
public static final NumberPrototypeBuiltins.NumberPrototype toPrecision
public static final NumberPrototypeBuiltins.NumberPrototype toString
public static final NumberPrototypeBuiltins.NumberPrototype valueOf
public static NumberPrototypeBuiltins.NumberPrototype[] values()
public static NumberPrototypeBuiltins.NumberPrototype 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 int getLength()
getLength in interface BuiltinEnum<NumberPrototypeBuiltins.NumberPrototype>