public class JavetProxyPluginArray extends BaseJavetProxyPluginSingle<java.lang.Object>
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
AT
The JavaScript array method name
at. |
protected static java.lang.String |
CONCAT
The JavaScript array method name
concat. |
protected static java.lang.String |
COPY_WITHIN
The JavaScript array method name
copyWithin. |
protected static java.lang.String[] |
DEFAULT_PROXYABLE_METHODS
The constant DEFAULT_PROXYABLE_METHODS.
|
protected static java.lang.String |
ENTRIES
The JavaScript array method name
entries. |
protected static java.lang.String |
ERROR_TARGET_OBJECT_MUST_BE_AN_ARRAY
The error message indicating the target object must be an array.
|
protected static java.lang.String |
EVERY
The JavaScript array method name
every. |
protected static java.lang.String |
FILL
The JavaScript array method name
fill. |
protected static java.lang.String |
FILTER
The JavaScript array method name
filter. |
protected static java.lang.String |
FIND
The JavaScript array method name
find. |
protected static java.lang.String |
FIND_INDEX
The JavaScript array method name
findIndex. |
protected static java.lang.String |
FIND_LAST
The JavaScript array method name
findLast. |
protected static java.lang.String |
FIND_LAST_INDEX
The JavaScript array method name
findLastIndex. |
protected static java.lang.String |
FLAT
The JavaScript array method name
flat. |
protected static java.lang.String |
FLAT_MAP
The JavaScript array method name
flatMap. |
protected static java.lang.String |
FOR_EACH
The JavaScript array method name
forEach. |
protected static java.lang.String |
INCLUDES
The JavaScript array method name
includes. |
protected static java.lang.String |
INDEX_OF
The JavaScript array method name
indexOf. |
protected static java.lang.String |
JOIN
The JavaScript array method name
join. |
protected static java.lang.String |
KEYS
The JavaScript array method name
keys. |
protected static java.lang.String |
LAST_INDEX_OF
The JavaScript array method name
lastIndexOf. |
protected static java.lang.String |
LENGTH
The JavaScript array property name
length. |
protected static java.lang.String |
MAP
The JavaScript array method name
map. |
static java.lang.String |
NAME
The constant NAME.
|
protected static java.lang.String |
POP
The JavaScript array method name
pop. |
protected java.util.Set<java.lang.String> |
proxyableMethods
The proxyable methods.
|
protected static java.lang.String |
PUSH
The JavaScript array method name
push. |
protected static java.lang.String |
REDUCE
The JavaScript array method name
reduce. |
protected static java.lang.String |
REDUCE_RIGHT
The JavaScript array method name
reduceRight. |
protected static java.lang.String |
REVERSE
The JavaScript array method name
reverse. |
protected static java.lang.String |
SHIFT
The JavaScript array method name
shift. |
protected static java.lang.String |
SLICE
The JavaScript array method name
slice. |
protected static java.lang.String |
SOME
The JavaScript array method name
some. |
protected static java.lang.String |
SORT
The JavaScript array method name
sort. |
protected static java.lang.String |
SPLICE
The JavaScript array method name
splice. |
protected static java.lang.String |
TO_LOCALE_STRING
The JavaScript array method name
toLocaleString. |
protected static java.lang.String |
TO_REVERSED
The JavaScript array method name
toReversed. |
protected static java.lang.String |
TO_SORTED
The JavaScript array method name
toSorted. |
protected static java.lang.String |
TO_SPLICED
The JavaScript array method name
toSpliced. |
protected static java.lang.String |
UNSHIFT
The JavaScript array method name
unshift. |
protected static java.lang.String |
VALUES
The JavaScript array method name
values. |
protected static java.lang.String |
WITH
The JavaScript array method name
with. |
proxyGetByStringMap, proxyGetBySymbolMapHINT_BOOLEAN, HINT_DEFAULT, HINT_NUMBER, HINT_STRING, OBJECT_CONVERTER, PROXY_CONVERTER, TO_JSON, TO_STRING, VALUE_OF| Constructor and Description |
|---|
JavetProxyPluginArray()
Instantiates a new Javet proxy plugin array.
|
| 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 |
toLocaleString(V8Runtime v8Runtime,
java.lang.Object targetObject)
Polyfill Array.prototype.toLocaleString().
|
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, getTargetObjectConstructorcallWithObjectConverter, getProxySymbolToPrimitive, isUniqueKeySupported, populateUniqueKeys, symbolToPrimitive, typeErrorFunctionIsNotSupportedpublic static final java.lang.String NAME
protected static final java.lang.String AT
at.protected static final java.lang.String CONCAT
concat.protected static final java.lang.String COPY_WITHIN
copyWithin.protected static final java.lang.String ENTRIES
entries.protected static final java.lang.String ERROR_TARGET_OBJECT_MUST_BE_AN_ARRAY
protected static final java.lang.String EVERY
every.protected static final java.lang.String FILL
fill.protected static final java.lang.String FILTER
filter.protected static final java.lang.String FIND
find.protected static final java.lang.String FIND_INDEX
findIndex.protected static final java.lang.String FIND_LAST
findLast.protected static final java.lang.String FIND_LAST_INDEX
findLastIndex.protected static final java.lang.String FLAT
flat.protected static final java.lang.String FLAT_MAP
flatMap.protected static final java.lang.String FOR_EACH
forEach.protected static final java.lang.String INCLUDES
includes.protected static final java.lang.String INDEX_OF
indexOf.protected static final java.lang.String JOIN
join.protected static final java.lang.String KEYS
keys.protected static final java.lang.String LAST_INDEX_OF
lastIndexOf.protected static final java.lang.String LENGTH
length.protected static final java.lang.String[] DEFAULT_PROXYABLE_METHODS
protected static final java.lang.String MAP
map.protected static final java.lang.String POP
pop.protected static final java.lang.String PUSH
push.protected static final java.lang.String REDUCE
reduce.protected static final java.lang.String REDUCE_RIGHT
reduceRight.protected static final java.lang.String REVERSE
reverse.protected static final java.lang.String SHIFT
shift.protected static final java.lang.String SLICE
slice.protected static final java.lang.String SOME
some.protected static final java.lang.String SORT
sort.protected static final java.lang.String SPLICE
splice.protected static final java.lang.String TO_LOCALE_STRING
toLocaleString.protected static final java.lang.String TO_REVERSED
toReversed.protected static final java.lang.String TO_SORTED
toSorted.protected static final java.lang.String TO_SPLICED
toSpliced.protected static final java.lang.String UNSHIFT
unshift.protected static final java.lang.String VALUES
values.protected static final java.lang.String WITH
with.protected final java.util.Set<java.lang.String> proxyableMethods
public JavetProxyPluginArray()
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
BaseJavetProxyPluginSinglecreateTargetObject 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)
IClassProxyPlugindeleteByObject in interface IClassProxyPlugindeleteByObject in class BaseJavetProxyPlugintargetObject - 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)
IClassProxyPlugingetByIndex in interface IClassProxyPlugingetByIndex in class BaseJavetProxyPlugintargetObject - the target objectindex - the indexpublic java.lang.String getName()
IClassProxyPluginpublic java.lang.Object[] getProxyOwnKeys(java.lang.Object targetObject)
IClassProxyPlugingetProxyOwnKeys in interface IClassProxyPlugingetProxyOwnKeys in class BaseJavetProxyPlugintargetObject - the target objectpublic <T> IJavetEntityPropertyDescriptor<T> getProxyOwnPropertyDescriptor(java.lang.Object targetObject, java.lang.Object propertyName)
IClassProxyPlugingetProxyOwnPropertyDescriptor in interface IClassProxyPlugingetProxyOwnPropertyDescriptor in class BaseJavetProxyPluginT - the type parametertargetObject - the target objectpropertyName - the property namepublic boolean hasByObject(java.lang.Object targetObject,
java.lang.Object propertyKey)
IClassProxyPluginhasByObject in interface IClassProxyPluginhasByObject in class BaseJavetProxyPlugintargetObject - 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)
IClassProxyPluginisDeleteSupported in interface IClassProxyPluginisDeleteSupported in class BaseJavetProxyPlugintargetClass - the target classpublic boolean isHasSupported(java.lang.Class<?> targetClass)
IClassProxyPluginisHasSupported in interface IClassProxyPluginisHasSupported in class BaseJavetProxyPlugintargetClass - the target classpublic boolean isIndexSupported(java.lang.Class<?> targetClass)
IClassProxyPluginisIndexSupported in interface IClassProxyPluginisIndexSupported in class BaseJavetProxyPlugintargetClass - the target classpublic boolean isMethodProxyable(java.lang.String methodName,
java.lang.Class<?> targetClass)
IClassProxyPluginmethodName - the method nametargetClass - the target classpublic boolean isOwnKeysSupported(java.lang.Class<?> targetClass)
IClassProxyPluginisOwnKeysSupported in interface IClassProxyPluginisOwnKeysSupported in class BaseJavetProxyPlugintargetClass - the target classpublic boolean isProxyable(java.lang.Class<?> targetClass)
IClassProxyPlugintargetClass - 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)
IClassProxyPluginsetByIndex in interface IClassProxyPluginsetByIndex in class BaseJavetProxyPlugintargetObject - 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 toLocaleString(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)
BaseJavetProxyPluginSinglevalidateTargetObject 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