public abstract class V8Value extends V8Data implements IV8Value
| Modifier and Type | Field and Description |
|---|---|
protected static JavetObjectConverter |
OBJECT_CONVERTER |
protected V8Runtime |
v8Runtime |
| Modifier | Constructor and Description |
|---|---|
protected |
V8Value(V8Runtime v8Runtime) |
| Modifier and Type | Method and Description |
|---|---|
protected V8Runtime |
checkV8Runtime() |
abstract void |
close() |
abstract boolean |
equals(V8Value v8Value)
Equals.
|
V8Runtime |
getV8Runtime()
Gets V8 runtime.
|
boolean |
isClosed()
Is closed.
|
abstract boolean |
sameValue(V8Value v8Value)
Same value.
|
abstract boolean |
strictEquals(V8Value v8Value)
Strict equals.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasBoolean, asDouble, asInt, asLong, asString, isNull, isNullOrUndefined, isUndefinedtoClone, toCloneprotected static final JavetObjectConverter OBJECT_CONVERTER
protected V8Runtime v8Runtime
protected V8Value(V8Runtime v8Runtime) throws JavetException
JavetExceptionprotected V8Runtime checkV8Runtime() throws JavetException
JavetExceptionpublic abstract void close()
throws JavetException
close in interface IJavetClosableclose in interface java.lang.AutoCloseableJavetExceptionpublic abstract boolean equals(V8Value v8Value) throws JavetException
IV8ValueThe behavior is different from JS behavior but is the same as Java behavior.
equals in interface IV8Valuev8Value - the V8 valueJavetException - the javet exceptionpublic V8Runtime getV8Runtime()
IV8ValuegetV8Runtime in interface IV8Valuepublic boolean isClosed()
IJavetClosableisClosed in interface IJavetClosablepublic abstract boolean sameValue(V8Value v8Value) throws JavetException
IV8ValueThe behavior is different from JS behavior but is the same as Java behavior.
sameValue in interface IV8Valuev8Value - the V8 valueJavetException - the javet exceptionpublic abstract boolean strictEquals(V8Value v8Value) throws JavetException
IV8ValueThe behavior is different from JS behavior but is the same as Java behavior.
strictEquals in interface IV8Valuev8Value - the V8 valueJavetException - the javet exception