public static enum V8Value.Type extends Enum<V8Value.Type>
Enum Constant and Description |
---|
Boolean |
Context |
Error |
Frame |
Function |
Generator |
Map |
Null |
Number |
Object |
Promise |
Regexp |
Script |
Set |
String |
Symbol |
Undefined |
Modifier and Type | Method and Description |
---|---|
static V8Value.Type |
fromString(String typeName) |
String |
toString() |
static V8Value.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static V8Value.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final V8Value.Type Undefined
public static final V8Value.Type Null
public static final V8Value.Type Boolean
public static final V8Value.Type Number
public static final V8Value.Type String
public static final V8Value.Type Object
public static final V8Value.Type Function
public static final V8Value.Type Frame
public static final V8Value.Type Script
public static final V8Value.Type Context
public static final V8Value.Type Error
public static final V8Value.Type Regexp
public static final V8Value.Type Symbol
public static final V8Value.Type Promise
public static final V8Value.Type Map
public static final V8Value.Type Set
public static final V8Value.Type Generator
public static V8Value.Type[] values()
public static V8Value.Type 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 String toString()
toString
in class Enum<V8Value.Type>
public static V8Value.Type fromString(String typeName)