public abstract class V8Value extends Object implements Releasable
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOLEAN |
static int |
DOUBLE |
static int |
INTEGER |
static int |
NULL |
protected long |
objectHandle |
protected boolean |
released |
static int |
STRING |
static int |
UNDEFINED |
static int |
UNKNOWN |
protected V8 |
v8 |
static int |
V8_ARRAY |
static int |
V8_FUNCTION |
static int |
V8_OBJECT |
| Modifier | Constructor and Description |
|---|---|
protected |
V8Value() |
protected |
V8Value(V8 v8) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkReleaesd() |
protected abstract V8Value |
createTwin() |
boolean |
equals(Object that) |
protected long |
getHandle() |
V8 |
getRuntime()
Gets the runtime this Value was created on.
|
V8 |
getRutime()
Deprecated.
|
int |
hashCode() |
protected long |
initialize(long runtimePtr) |
boolean |
isReleased()
Determine if the native resources have been released.
|
boolean |
isUndefined()
Determines if this value is undefined.
|
boolean |
jsEquals(Object that)
Performs a JS == on the parameter and the receiver.
|
void |
release()
Releases the native resources associated with this V8Value.
|
boolean |
strictEquals(Object that)
Performs a JS === on the parameter and the receiver.
|
V8Value |
twin()
Creates a new Java object pointing at the same V8 Value
as this.
|
public static final int NULL
public static final int UNKNOWN
public static final int INTEGER
public static final int DOUBLE
public static final int BOOLEAN
public static final int STRING
public static final int V8_ARRAY
public static final int V8_OBJECT
public static final int V8_FUNCTION
public static final int UNDEFINED
protected V8 v8
protected long objectHandle
protected boolean released
protected V8Value()
protected V8Value(V8 v8)
protected long initialize(long runtimePtr)
public boolean isUndefined()
@Deprecated public V8 getRutime()
public V8 getRuntime()
public V8Value twin()
public void release()
release in interface Releasablepublic boolean isReleased()
public boolean strictEquals(Object that)
protected long getHandle()
protected abstract V8Value createTwin()
public boolean jsEquals(Object that)
protected void checkReleaesd()
Copyright © 2015. All rights reserved.