public class JavetProxyPluginArray extends BaseJavetProxyPluginSingle<java.lang.Object>
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
AT |
protected static java.lang.String |
CONCAT |
protected static java.lang.String |
COPY_WITHIN |
protected static java.lang.String[] |
DEFAULT_PROXYABLE_METHODS
The constant DEFAULT_PROXYABLE_METHODS.
|
protected static java.lang.String |
ENTRIES |
protected static java.lang.String |
ERROR_TARGET_OBJECT_MUST_BE_AN_ARRAY |
protected static java.lang.String |
EVERY |
protected static java.lang.String |
FILL |
protected static java.lang.String |
FILTER |
protected static java.lang.String |
FIND |
protected static java.lang.String |
FIND_INDEX |
protected static java.lang.String |
FIND_LAST |
protected static java.lang.String |
FIND_LAST_INDEX |
protected static java.lang.String |
FLAT |
protected static java.lang.String |
FLAT_MAP |
protected static java.lang.String |
FOR_EACH |
protected static java.lang.String |
INCLUDES |
protected static java.lang.String |
INDEX_OF |
protected static java.lang.String |
JOIN |
protected static java.lang.String |
KEYS |
protected static java.lang.String |
LAST_INDEX_OF |
protected static java.lang.String |
LENGTH |
protected static java.lang.String |
MAP |
static java.lang.String |
NAME
The constant NAME.
|
protected static java.lang.String |
POP |
protected java.util.Set<java.lang.String> |
proxyableMethods
The proxyable methods.
|
protected static java.lang.String |
PUSH |
protected static java.lang.String |
REDUCE |
protected static java.lang.String |
REDUCE_RIGHT |
protected static java.lang.String |
REVERSE |
protected static java.lang.String |
SHIFT |
protected static java.lang.String |
SLICE |
protected static java.lang.String |
SOME |
protected static java.lang.String |
SORT |
protected static java.lang.String |
SPLICE |
protected static java.lang.String |
TO_REVERSED |
protected static java.lang.String |
TO_SORTED |
protected static java.lang.String |
TO_SPLICED |
protected static java.lang.String |
UNSHIFT |
protected static java.lang.String |
VALUES |
protected static java.lang.String |
WITH |
proxyGetByStringMap, proxyGetBySymbolMap
HINT_BOOLEAN, HINT_DEFAULT, HINT_NUMBER, HINT_STRING, OBJECT_CONVERTER, PROXY_CONVERTER, TO_JSON, TO_STRING, VALUE_OF
Constructor and Description |
---|
JavetProxyPluginArray() |
Modifier and Type | Method and Description |
---|---|
V8Value |
at(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.at().
|
V8Value |
concat(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.concat().
|
V8Value |
copyWithin(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.copyWithin().
|
protected V8Value |
createTargetObject(V8Runtime v8Runtime,
java.lang.Object targetObject)
Create target object.
|
boolean |
deleteByObject(java.lang.Object targetObject,
java.lang.Object propertyKey)
Delete by object property.
|
V8Value |
entries(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.entries().
|
V8Value |
every(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.every().
|
V8Value |
fill(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.fill()
The fill() method of Array instances changes all elements within a range of indices
in an array to a static value.
|
V8Value |
filter(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.filter().
|
V8Value |
find(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.find().
|
V8Value |
findIndex(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.findIndex().
|
V8Value |
findLast(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.findLast().
|
V8Value |
findLastIndex(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.findLastIndex().
|
V8Value |
flat(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.flat().
|
V8Value |
flatMap(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.flatMap().
|
V8Value |
forEach(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.forEach().
|
java.lang.Object |
getByIndex(java.lang.Object targetObject,
int index)
Gets by index.
|
static JavetProxyPluginArray |
getInstance()
Gets instance.
|
java.lang.String |
getName()
Gets the plugin name.
|
java.lang.Object[] |
getProxyOwnKeys(java.lang.Object targetObject)
Get proxy own keys for Object.getOwnPropertyNames().
|
<T> IJavetEntityPropertyDescriptor<T> |
getProxyOwnPropertyDescriptor(java.lang.Object targetObject,
java.lang.Object propertyName)
Gets proxy own property descriptor.
|
boolean |
hasByObject(java.lang.Object targetObject,
java.lang.Object propertyKey)
Has by object property.
|
V8Value |
includes(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.includes().
|
V8Value |
indexOf(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.indexOf().
|
boolean |
isDeleteSupported(java.lang.Class<?> targetClass)
Is keyword delete supported.
|
boolean |
isHasSupported(java.lang.Class<?> targetClass)
Is has() supported.
|
boolean |
isIndexSupported(java.lang.Class<?> targetClass)
Is index supported.
|
boolean |
isMethodProxyable(java.lang.String methodName,
java.lang.Class<?> targetClass)
Is method proxyable.
|
boolean |
isOwnKeysSupported(java.lang.Class<?> targetClass)
Is ownKeys() supported.
|
boolean |
isProxyable(java.lang.Class<?> targetClass)
Is the target class proxyable.
|
V8Value |
join(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.join().
|
V8Value |
keys(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.keys().
|
V8Value |
lastIndexOf(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.lastIndexOf().
|
V8Value |
length(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.length.
|
V8Value |
map(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.map().
|
V8Value |
pop(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.pop().
|
V8Value |
push(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.push().
|
V8Value |
reduce(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.reduce().
|
V8Value |
reduceRight(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.reduceRight()
The reduceRight() method of Array instances applies a function against an accumulator and each value
of the array (from right-to-left) to reduce it to a single value.
|
V8Value |
reverse(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.reverse().
|
boolean |
setByIndex(java.lang.Object targetObject,
int index,
java.lang.Object value)
Sets by index.
|
V8Value |
shift(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.shift().
|
V8Value |
slice(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.slice().
|
V8Value |
some(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.some().
|
V8Value |
sort(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.sort().
|
V8Value |
splice(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.splice().
|
V8Value |
toJSON(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill List.toJSON().
|
V8Value |
toReversed(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.toReversed().
|
V8Value |
toSorted(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.toSorted()
The toSorted() method of Array instances is the copying version of the sort() method.
|
V8Value |
toSpliced(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.toSpliced()
The toSpliced() method of Array instances is the copying version of the splice() method.
|
V8Value |
toString(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.toString()
The toString() method of Array instances returns a string representing the specified array and its elements.
|
V8Value |
unshift(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.unshift().
|
protected java.lang.Object |
validateTargetObject(java.lang.Object targetObject)
Validate and return target object.
|
V8Value |
valueOf(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Object.prototype.valueOf().
|
V8Value |
values(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.values().
|
V8Value |
with(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.with().
|
getProxyGetByString, getProxyGetBySymbol, getTargetObjectConstructor
callWithObjectConverter, getProxySymbolToPrimitive, isUniqueKeySupported, populateUniqueKeys, symbolToPrimitive, typeErrorFunctionIsNotSupported
public static final java.lang.String NAME
protected static final java.lang.String AT
protected static final java.lang.String CONCAT
protected static final java.lang.String COPY_WITHIN
protected static final java.lang.String ENTRIES
protected static final java.lang.String ERROR_TARGET_OBJECT_MUST_BE_AN_ARRAY
protected static final java.lang.String EVERY
protected static final java.lang.String FILL
protected static final java.lang.String FILTER
protected static final java.lang.String FIND
protected static final java.lang.String FIND_INDEX
protected static final java.lang.String FIND_LAST
protected static final java.lang.String FIND_LAST_INDEX
protected static final java.lang.String FLAT
protected static final java.lang.String FLAT_MAP
protected static final java.lang.String FOR_EACH
protected static final java.lang.String INCLUDES
protected static final java.lang.String INDEX_OF
protected static final java.lang.String JOIN
protected static final java.lang.String KEYS
protected static final java.lang.String LAST_INDEX_OF
protected static final java.lang.String LENGTH
protected static final java.lang.String[] DEFAULT_PROXYABLE_METHODS
protected static final java.lang.String MAP
protected static final java.lang.String POP
protected static final java.lang.String PUSH
protected static final java.lang.String REDUCE
protected static final java.lang.String REDUCE_RIGHT
protected static final java.lang.String REVERSE
protected static final java.lang.String SHIFT
protected static final java.lang.String SLICE
protected static final java.lang.String SOME
protected static final java.lang.String SORT
protected static final java.lang.String SPLICE
protected static final java.lang.String TO_REVERSED
protected static final java.lang.String TO_SORTED
protected static final java.lang.String TO_SPLICED
protected static final java.lang.String UNSHIFT
protected static final java.lang.String VALUES
protected static final java.lang.String WITH
protected final java.util.Set<java.lang.String> proxyableMethods
public static JavetProxyPluginArray getInstance()
public V8Value at(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
Parameters index Zero-based index of the array element to be returned, converted to an integer. Negative index counts back from the end of the array — if index < 0, index + array.length is accessed.
Return value The element in the array matching the given index. Always returns undefined if index < -array.length or index >= array.length without attempting to access the corresponding property.
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value concat(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value copyWithin(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionprotected V8Value createTargetObject(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
BaseJavetProxyPluginSingle
createTargetObject
in class BaseJavetProxyPluginSingle<java.lang.Object>
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic boolean deleteByObject(java.lang.Object targetObject, java.lang.Object propertyKey)
IClassProxyPlugin
deleteByObject
in interface IClassProxyPlugin
deleteByObject
in class BaseJavetProxyPlugin
targetObject
- the target objectpropertyKey
- the property keypublic V8Value entries(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value every(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value fill(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value filter(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value find(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
If you need the index of the found element in the array, use findIndex(). If you need to find the index of a value, use indexOf(). (It's similar to findIndex(), but checks each element for equality with the value instead of using a testing function.) If you need to find if a value exists in an array, use includes(). Again, it checks each element for equality with the value instead of using a testing function. If you need to find if any element satisfies the provided testing function, use some().
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value findIndex(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
See also the find() method, which returns the first element that satisfies the testing function (rather than its index).
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value findLast(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
If you need to find:
the first element that matches, use find(). the index of the last matching element in the array, use findLastIndex(). the index of a value, use indexOf(). (It's similar to findIndex(), but checks each element for equality with the value instead of using a testing function.) whether a value exists in an array, use includes(). Again, it checks each element for equality with the value instead of using a testing function. if any element satisfies the provided testing function, use some().
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value findLastIndex(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
See also the findLast() method, which returns the value of last element that satisfies the testing function (rather than its index).
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value flat(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value flatMap(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value forEach(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic java.lang.Object getByIndex(java.lang.Object targetObject, int index)
IClassProxyPlugin
getByIndex
in interface IClassProxyPlugin
getByIndex
in class BaseJavetProxyPlugin
targetObject
- the target objectindex
- the indexpublic java.lang.String getName()
IClassProxyPlugin
public java.lang.Object[] getProxyOwnKeys(java.lang.Object targetObject)
IClassProxyPlugin
getProxyOwnKeys
in interface IClassProxyPlugin
getProxyOwnKeys
in class BaseJavetProxyPlugin
targetObject
- the target objectpublic <T> IJavetEntityPropertyDescriptor<T> getProxyOwnPropertyDescriptor(java.lang.Object targetObject, java.lang.Object propertyName)
IClassProxyPlugin
getProxyOwnPropertyDescriptor
in interface IClassProxyPlugin
getProxyOwnPropertyDescriptor
in class BaseJavetProxyPlugin
T
- the type parametertargetObject
- the target objectpropertyName
- the property namepublic boolean hasByObject(java.lang.Object targetObject, java.lang.Object propertyKey)
IClassProxyPlugin
hasByObject
in interface IClassProxyPlugin
hasByObject
in class BaseJavetProxyPlugin
targetObject
- the target objectpropertyKey
- the property keypublic V8Value includes(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value indexOf(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic boolean isDeleteSupported(java.lang.Class<?> targetClass)
IClassProxyPlugin
isDeleteSupported
in interface IClassProxyPlugin
isDeleteSupported
in class BaseJavetProxyPlugin
targetClass
- the target classpublic boolean isHasSupported(java.lang.Class<?> targetClass)
IClassProxyPlugin
isHasSupported
in interface IClassProxyPlugin
isHasSupported
in class BaseJavetProxyPlugin
targetClass
- the target classpublic boolean isIndexSupported(java.lang.Class<?> targetClass)
IClassProxyPlugin
isIndexSupported
in interface IClassProxyPlugin
isIndexSupported
in class BaseJavetProxyPlugin
targetClass
- the target classpublic boolean isMethodProxyable(java.lang.String methodName, java.lang.Class<?> targetClass)
IClassProxyPlugin
methodName
- the method nametargetClass
- the target classpublic boolean isOwnKeysSupported(java.lang.Class<?> targetClass)
IClassProxyPlugin
isOwnKeysSupported
in interface IClassProxyPlugin
isOwnKeysSupported
in class BaseJavetProxyPlugin
targetClass
- the target classpublic boolean isProxyable(java.lang.Class<?> targetClass)
IClassProxyPlugin
targetClass
- the target classpublic V8Value join(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value keys(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value lastIndexOf(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value length(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value map(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value pop(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value push(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value reduce(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
The first time that the callback is run there is no "return value of the previous calculation". If supplied, an initial value may be used in its place. Otherwise the array element at index 0 is used as the initial value and iteration starts from the next element (index 1 instead of index 0).
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value reduceRight(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
See also Array.prototype.reduce() for left-to-right.
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value reverse(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic boolean setByIndex(java.lang.Object targetObject, int index, java.lang.Object value)
IClassProxyPlugin
setByIndex
in interface IClassProxyPlugin
setByIndex
in class BaseJavetProxyPlugin
targetObject
- the target objectindex
- the indexvalue
- the valuepublic V8Value shift(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value slice(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value some(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value sort(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
The time and space complexity of the sort cannot be guaranteed as it depends on the implementation.
To sort the elements in an array without mutating the original array, use toSorted().
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value splice(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
To create a new array with a segment removed and/or replaced without mutating the original array, use toSpliced(). To access part of an array without modifying it, see slice().
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value toJSON(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value toReversed(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value toSorted(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value toSpliced(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value toString(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value unshift(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionprotected java.lang.Object validateTargetObject(java.lang.Object targetObject)
BaseJavetProxyPluginSingle
validateTargetObject
in class BaseJavetProxyPluginSingle<java.lang.Object>
targetObject
- the target objectpublic V8Value valueOf(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value values(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exceptionpublic V8Value with(V8Runtime v8Runtime, java.lang.Object targetObject) throws JavetException
v8Runtime
- the V8 runtimetargetObject
- the target objectJavetException
- the javet exception