public class V8ValueIntegerObject extends V8ValueObject implements IV8ValuePrimitiveObject<V8ValueInteger>
ERROR_THE_KEY_VALUE_PAIR_MUST_MATCH, FUNCTION_ADD, FUNCTION_DELETE, FUNCTION_GET, FUNCTION_HAS, FUNCTION_SET, METHOD_PREFIX_GET, METHOD_PREFIX_IS, METHOD_PREFIX_SET, PROPERTY_PROTOTYPE
handle, INVALID_HANDLE, weak
OBJECT_CONVERTER, v8Runtime
DEFAULT_BATCH_SIZE, MIN_BATCH_SIZE
Constructor and Description |
---|
V8ValueIntegerObject(V8Runtime v8Runtime,
long handle)
Instantiates a new V8 value integer object.
|
Modifier and Type | Method and Description |
---|---|
V8ValueReferenceType |
getType() |
V8ValueDoubleObject |
toDoubleObject()
Convert to double object.
|
V8ValueInteger |
valueOf()
Get the primitive value of the primitive object.
|
batchGet, bind, bindFunction, bindProperty, delete, deletePrivateProperty, forEach, forEach, get, getBoolean, getDouble, getIdentityHash, getInteger, getLong, getOwnPropertyNames, getPrivateProperty, getProperty, getPropertyNames, getPrototype, getString, has, hasInternalType, hasOwnProperty, hasPrivateProperty, invokeExtended, invokeExtended, sameValue, set, set, setBoolean, setDouble, setInteger, setLong, setNull, setPrivateProperty, setProperty, setPrototype, setString, setUndefined, strictEquals, toJsonString, toProtoString, unbind, unbindFunction, unbindProperty, unbindProperty, unbindProperty, unbindProperty
addReference, checkV8Runtime, clearWeak, close, close, equals, getHandle, isClosed, isWeak, isWeak, removeReference, setWeak, toClone, toString
getV8Runtime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asBoolean, asDouble, asInt, asLong, asString
equals, getV8Runtime, isNull, isNullOrUndefined, isUndefined, sameValue, strictEquals
close, isClosed
toClone, toClone
bindFunction, bindFunction, bindProperty, deleteNull, deleteUndefined, forEach, forEach, forEach, forEach, forEach, forEach, getBigInteger, getFloat, getNull, getObject, getOwnPropertyNameStrings, getPrivatePropertyBoolean, getPrivatePropertyDouble, getPrivatePropertyFloat, getPrivatePropertyInteger, getPrivatePropertyLong, getPrivatePropertyNull, getPrivatePropertyObject, getPrivatePropertyPrimitive, getPrivatePropertyString, getPrivatePropertyUndefined, getPrivatePropertyZonedDateTime, getPropertyBoolean, getPropertyDouble, getPropertyFloat, getPropertyInteger, getPropertyLong, getPropertyObject, getPropertyPrimitive, getPropertyString, getPropertyZonedDateTime, getUndefined, getZonedDateTime, hasNull, hasUndefined, invoke, invoke, invokeBigInteger, invokeBoolean, invokeDouble, invokeFloat, invokeInteger, invokeLong, invokeObject, invokeString, invokeVoid, invokeVoid, invokeZonedDateTime, isGeneratorObject, setPrivatePropertyNull, setPrivatePropertyUndefined, setPropertyNull, setPropertyUndefined, unbindFunction, unbindFunction, unbindFunction, unbindProperty
public V8ValueIntegerObject(V8Runtime v8Runtime, long handle) throws JavetException
v8Runtime
- the V8 runtimehandle
- the handleJavetException
- the javet exceptionpublic V8ValueReferenceType getType()
getType
in interface IV8ValueReference
getType
in class V8ValueObject
public V8ValueDoubleObject toDoubleObject() throws JavetException
JavetException
- the javet exception@CheckReturnValue public V8ValueInteger valueOf() throws JavetException
IV8ValuePrimitiveObject
valueOf
in interface IV8ValuePrimitiveObject<V8ValueInteger>
JavetException
- the javet exception