MCPcopy Create free account

hub / github.com/caoccao/Javet / functions

Functions4,340 in github.com/caoccao/Javet

↓ 1,633 callersMethodgetExecutor
Gets an executor by {@link File}. @param scriptFile the script file @return the executor @throws JavetException the javet exception @since 0.8.4
src/main/java/com/caoccao/javet/interop/V8Runtime.java:1590
↓ 566 callersMethodexecuteString
Execute and return string. @return the string @throws JavetException the javet exception @since 0.8.10
src/main/java/com/caoccao/javet/interop/IV8Executable.java:171
↓ 379 callersMethodput
Put value by key. @param key the key @param value the value @return the value
src/main/java/com/caoccao/javet/utils/ThreadSafeMap.java:90
↓ 374 callersMethodget
Gets element by index. @param <T> the type parameter @param index the index @return the element @throws JavetException the javet exception @since 2
src/main/java/com/caoccao/javet/values/reference/IV8Context.java:47
↓ 372 callersMethodgetGlobalObject
Get the global object of the V8 runtime. @param v8RuntimeHandle the V8 runtime handle @return the result
src/main/java/com/caoccao/javet/interop/IV8Native.java:518
↓ 263 callersMethodtoString
Convert a V8 value to its string representation. @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle the V8 value handle @param v8Val
src/main/java/com/caoccao/javet/interop/IV8Native.java:2007
↓ 243 callersMethodexecuteInteger
Execute and return integer. @return the integer @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/interop/IV8Executable.java:119
↓ 236 callersMethodset
Set property by key object and value object. @param key the key @param value the value @return true : set, false: not set @throws JavetException th
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:1257
↓ 227 callersMethodexecute
Execute and return V8 value. @param <T> the type parameter @return the V8 value @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/interop/IV8Executable.java:42
↓ 218 callersMethodexecuteVoid
Execute without a return value. @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/interop/IV8Executable.java:190
↓ 215 callersMethodexecuteBoolean
Execute and return boolean. @return the boolean @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/interop/IV8Executable.java:85
↓ 193 callersMethodadd
Add. @param key the key @throws JavetException the javet exception @since 0.7.0
src/main/java/com/caoccao/javet/values/reference/IV8ValueSet.java:35
↓ 185 callersMethodgetHandle
Returns the native handle of this V8 reference. @return the native handle
src/main/java/com/caoccao/javet/values/reference/IV8ValueReference.java:47
↓ 161 callersMethodgetType
Gets type. @return the type @since 3.0.4
src/main/java/com/caoccao/javet/interfaces/IJavetEntityError.java:68
↓ 158 callersMethodgetValue
Gets value. @param <E> the type parameter @param enumSet the enum set @return the value @since 1.0.3
src/main/java/com/caoccao/javet/interfaces/IEnumBitset.java:72
↓ 156 callersMethodcreateV8ValueFunction
Create V8 value function. @param javetCallbackContext the javet callback context @return the V8 value function @throws JavetException the javet excep
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:173
↓ 154 callersMethodcheckV8Runtime
()
src/main/java/com/caoccao/javet/values/reference/V8ValueReference.java:59
↓ 149 callersMethodgetV8Internal
Gets V8 internal. @return the V8 internal @since 1.0.2
src/main/java/com/caoccao/javet/interop/V8Runtime.java:1819
↓ 139 callersMethodgetMessage
Gets message. @return the message @since 3.0.4
src/main/java/com/caoccao/javet/interfaces/IJavetEntityError.java:52
↓ 137 callersMethoddelete
Delete property by key object. @param key the key @return true : the property is deleted, false : the property is not deleted @throws JavetException
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:175
↓ 137 callersMethodgetId
Gets id. @return the id @since 5.0.3
src/main/java/com/caoccao/javet/enums/V8Priority.java:81
↓ 115 callersMethodgetLength
Gets the element length. @return the element length @throws JavetException the javet exception @since 2.0.1
src/main/java/com/caoccao/javet/values/reference/IV8Context.java:144
↓ 115 callersMethodsize
Polyfill Set.prototype.size The size accessor property of Set instances returns the number of (unique) elements in this set. @param v8Runtime the
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginSet.java:517
↓ 98 callersMethodcreateV8ValueInteger
Create V8 value integer. @param integerValue the integer value @return the V8 value integer @throws JavetException the javet exception @since 0.7.4
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:195
↓ 91 callersMethodjoin
(String separator, String... strings)
src/test/java/com/caoccao/javet/interop/converters/TestJavetProxyConverter.java:2233
↓ 89 callersMethodlowMemoryNotification
Notify V8 of low memory conditions to trigger garbage collection. @param v8RuntimeHandle the V8 runtime handle
src/main/java/com/caoccao/javet/interop/IV8Native.java:711
↓ 88 callersMethodof
Of set. @param <T> the type parameter @return the set @since 3.0.3
src/main/java/com/caoccao/javet/utils/SimpleSet.java:39
↓ 84 callersMethodgetInteger
Gets element as integer by key object. @param index the index @return the element as integer @throws JavetException the javet exception @since 2.0.1
src/main/java/com/caoccao/javet/values/reference/IV8Context.java:127
↓ 84 callersMethodof
Of map. @param <K> the type parameter @param <V> the type parameter @param k1 the k1 @param v1 the v1 @return the map @since 0.8.5
src/main/java/com/caoccao/javet/utils/SimpleMap.java:41
↓ 80 callersMethodcreateV8ValueObject
Create V8 value object. @return the V8 value object @throws JavetException the javet exception @since 0.7.0
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:252
↓ 77 callersMethodexecuteObject
Execute and return a Java object. @param <T> the type parameter @return the Java object @throws JavetException the javet exception @since 0.8.5
src/main/java/com/caoccao/javet/interop/IV8Executable.java:154
↓ 76 callersMethodequals
Equals. <p> The behavior is different from JS behavior but is the same as Java behavior. @param v8Value the V8 value @return the boolean @throws Jave
src/main/java/com/caoccao/javet/values/IV8Value.java:98
↓ 72 callersMethodgetConfig
Gets config. @return the config @since 0.7.2
src/main/java/com/caoccao/javet/interop/engine/IJavetEngine.java:38
↓ 71 callersMethodforEach
For each of the item, call the consumer and return the item count. @param <Value> the type parameter @param <E> the type parameter @param con
src/main/java/com/caoccao/javet/values/reference/IV8ValueArray.java:175
↓ 69 callersFunctionFIND_CLASS
cpp/jni/javet_constants.h:32
↓ 69 callersMethodgetString
Gets string by index. @param index the index @return the string @throws JavetException the javet exception @since 2.0.1
src/main/java/com/caoccao/javet/values/reference/IV8Context.java:203
↓ 69 callersMethodisClosed
()
src/main/java/com/caoccao/javet/interop/V8Runtime.java:2031
↓ 65 callersMethodcreateV8Runtime
Create a new V8 runtime with the given options. @param runtimeOptions the runtime options @return the V8 runtime handle
src/main/java/com/caoccao/javet/interop/IV8Native.java:229
↓ 65 callersMethodisUndefined
Is undefined. @return true : undefined, false : not undefined @since 0.7.2
src/main/java/com/caoccao/javet/values/IV8Value.java:134
↓ 65 callersMethodlength
Polyfill Array.length. The length data property of an Array instance represents the number of elements in that array. The value is an unsigned, 32-bit
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginList.java:1103
↓ 64 callersMethodcreateV8ValueBoolean
Create V8 value boolean. @param booleanValue the boolean value @return the V8 value boolean @throws JavetException the javet exception @since 0.7.4
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:110
↓ 63 callersMethodget
handler.get() The handler.get() method is a trap for the [[Get]] object internal method, which is used by operations such as property accessors. @par
src/main/java/com/caoccao/javet/interop/proxy/IJavetProxyHandler.java:197
↓ 63 callersMethodtoArray
To V8 value array. @return the V8 value array @throws JavetException the javet exception @since 0.9.10
src/main/java/com/caoccao/javet/values/reference/IV8ValueArray.java:572
↓ 60 callersMethodSafeToExternalV8Value
cpp/jni/javet_v8_runtime.cpp:581
↓ 60 callersMethodcallWithObjectConverter
Call function with the object converter by name. @param functionName the function name @param v8Runtime the V8 runtime @param targetObject the tar
src/main/java/com/caoccao/javet/interop/proxy/plugins/BaseJavetProxyPlugin.java:119
↓ 60 callersMethodcreateV8ValueString
Create V8 value string. @param str the str @return the V8 value string @throws JavetException the javet exception @since 0.8.5
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:306
↓ 60 callersMethodgetReferenceCount
Gets the internal reference count. @return the reference count @since 0.7.0
src/main/java/com/caoccao/javet/interop/V8Runtime.java:1750
↓ 60 callersMethodhas
Has object property key by key object. @param value the value @return true : yes, false: no @throws JavetException the javet exception @since 0.7.0
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:895
↓ 58 callersMethodisEmpty
Is empty. @param list the list @return true : empty, false : not empty @since 3.0.4
src/main/java/com/caoccao/javet/utils/ListUtils.java:132
↓ 57 callersMethodcreateV8ValueUndefined
Create V8 value undefined. @return the V8 value undefined @since 0.7.2
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:361
↓ 56 callersMethodvalueOf
Get the primitive value of the primitive object. @return the primitive value @throws JavetException the javet exception @since 3.0.4
src/main/java/com/caoccao/javet/values/IV8ValuePrimitiveObject.java:60
↓ 53 callersMethodisNode
()
src/test/java/com/caoccao/javet/BaseTestJavet.java:148
↓ 53 callersMethodsafeClose
Safe close. @param objects the objects @since 0.7.1
src/main/java/com/caoccao/javet/utils/JavetResourceUtils.java:55
↓ 51 callersFunctionHandlePendingException
cpp/jni/javet_exceptions.cpp:49
↓ 51 callersMethodgetV8Runtime
Gets V8 runtime. @return the V8 runtime @since 0.9.1
src/main/java/com/caoccao/javet/values/IV8Value.java:106
↓ 51 callersMethodlogError
Log error. @param cause the cause @param format the format @param objects the objects @since 0.7.0
src/main/java/com/caoccao/javet/interfaces/IJavetLogger.java:78
↓ 51 callersMethodupdateFile
( relativeFilePath: string, lineSeparator: string, ...patterns: RegExp[] )
scripts/deno/change_javet_version.ts:186
↓ 50 callersMethodinvoke
Invoke function and return a V8 value by function name and objects as arguments. <p> The return value must be consumed, otherwise memory leak may occu
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:965
↓ 47 callersMethodsetResourceName
Sets resource name. @param resourceName the resource name @return the self @throws JavetException the javet exception @since 0.8.4
src/main/java/com/caoccao/javet/interop/executors/IV8Executor.java:219
↓ 47 callersMethodtoV8Value
To V8 value V8 value. @param v8Values the V8 values @return the V8 value @throws JavetException the javet exception @since 1.0.4
src/main/java/com/caoccao/javet/interop/proxy/IJavetProxySymbolConverter.java:48
↓ 47 callersMethodvalidateTargetObject
(Object targetObject)
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginList.java:1816
↓ 47 callersMethodvalidateTargetObject
(Object targetObject)
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginArray.java:1803
↓ 46 callersMethoderror
Error. @param message the message @since 0.7.0
src/main/java/com/caoccao/javet/interfaces/IJavetLogger.java:40
↓ 45 callersMethodpush
Array.prototype.push(). The push() method of Array instances adds the specified elements to the end of an array and returns the new length of the arra
src/main/java/com/caoccao/javet/values/reference/IV8ValueArray.java:388
↓ 44 callersMethodbind
Bind both functions via @V8Function and properties via @V8Property. @param callbackReceiver the callback receiver @return the list of callback contex
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:76
↓ 44 callersMethodgetName
Gets the plugin name. @return the plugin name @since 3.0.4
src/main/java/com/caoccao/javet/interop/binding/IClassProxyPlugin.java:54
↓ 44 callersMethodof
Of list. @param <T> the type parameter @return the list @since 3.0.3
src/main/java/com/caoccao/javet/utils/SimpleList.java:39
↓ 42 callersMethodtoJsonString
To json string. <p> JS equivalent: <pre> JSON.stringify(obj); </pre> @return the string @since 0.7.0
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:1442
↓ 41 callersMethodgetScriptingError
Gets scripting error. @return the scripting error @since 0.8.5
src/main/java/com/caoccao/javet/exceptions/BaseJavetScriptingException.java:67
↓ 40 callersMethodformat
Format a string using FreeMarker-style variable substitution. <p> Syntax: - ${variableName} - replaced with parameter value - $$ - escape sequence for
src/main/java/com/caoccao/javet/utils/SimpleFreeMarkerFormat.java:57
↓ 40 callersMethodgetCount
()
src/test/java/com/caoccao/javet/mock/MockAnnotationBasedCallbackReceiver.java:91
↓ 40 callersMethodgetName
Gets the module name. @return the module name @since 0.8.0
src/main/java/com/caoccao/javet/node/modules/INodeModule.java:42
↓ 40 callersMethodreset
Reset. @throws JavetException the javet exception @since 0.7.0
src/main/java/com/caoccao/javet/interfaces/IJavetResettable.java:33
↓ 40 callersMethodsendRequest
Send a CDP (Chrome DevTools Protocol) request message to the V8 inspector. @param message the CDP request message
src/main/java/com/caoccao/javet/interop/IV8InspectorListener.java:94
↓ 39 callersMethodasInt
As int. @return the int value @throws JavetException the javet exception @since 3.0.4
src/main/java/com/caoccao/javet/values/IV8Value.java:62
↓ 39 callersMethodcall
Call by this object and return the result. @param thisObject the this object @param v8Values the V8 values @return the V8 value @throws JavetExcept
src/main/java/com/caoccao/javet/interop/callback/IJavetDirectCallable.java:216
↓ 38 callersFunctionToExternalV8ValueUndefined
cpp/jni/javet_converter.cpp:1027
↓ 38 callersMethodasBoolean
A simulation of the JS <code>if (variable)</code> @return true : yes, false : no @throws JavetException the javet exception @since 3.0.4
src/main/java/com/caoccao/javet/values/IV8Value.java:39
↓ 37 callersMethodcreateV8ValueDouble
Create V8 value double. @param doubleValue the double value @return the V8 value double @throws JavetException the javet exception @since 0.8.5
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:141
↓ 36 callersFunctionThrowJavetExecutionException
cpp/jni/javet_exceptions.cpp:117
↓ 36 callersMethodisNotEmpty
Test if the input byte array is not empty. @param array the array @return true : not empty, false : empty @since 3.0.3
src/main/java/com/caoccao/javet/utils/ArrayUtils.java:130
↓ 35 callersMethodresolve
Resolve. @param v8Value the V8 value @return true : success, false : failure @throws JavetException the javet exception @since 0.9.8
src/main/java/com/caoccao/javet/values/reference/IV8ValuePromise.java:319
↓ 34 callersMethodawait
Pump the message loop with the given await mode. @param v8RuntimeHandle the V8 runtime handle @param v8AwaitMode the V8 await mode @return true i
src/main/java/com/caoccao/javet/interop/IV8Native.java:79
↓ 34 callersMethodcreateV8ValueArray
Create V8 value array from object array. @param v8Runtime the V8 runtime @param objects the objects @return the V8 value array @throws JavetExcepti
src/main/java/com/caoccao/javet/utils/V8ValueUtils.java:245
↓ 34 callersMethodvalues
Polyfill Set.prototype.values(). The values() method of Set instances returns a new set iterator object that contains the values for each element in t
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginSet.java:669
↓ 33 callersMethodaddAll
Add all items from the array to the list. @param <T> the type parameter @param list the list @param array the array @return the length of the arra
src/main/java/com/caoccao/javet/utils/ListUtils.java:41
↓ 33 callersMethodexecuteDouble
Execute and return double. @return the double @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/interop/IV8Executable.java:102
↓ 33 callersMethodlogInfo
Log info. @param format the format @param objects the objects @since 0.7.0
src/main/java/com/caoccao/javet/interfaces/IJavetLogger.java:100
↓ 33 callersMethodtoObject
Convert from V8 value to a reflection object. @param type the type to be converted @param v8Value the V8 value @return the object @since 2.0.1
src/main/java/com/caoccao/javet/interop/proxy/IJavetReflectionObjectFactory.java:53
↓ 32 callersMethodasInt
Call asInt() by V8 value array and index. @param v8Values the V8 values @param index the index @return the int value @throws JavetException the ja
src/main/java/com/caoccao/javet/utils/V8ValueUtils.java:51
↓ 32 callersMethodclose
()
src/main/java/com/caoccao/javet/interfaces/IJavetClosable.java:32
↓ 32 callersMethodisCalled
()
src/test/java/com/caoccao/javet/mock/MockCallbackReceiver.java:129
↓ 32 callersMethodtoObject
(V v8Value)
src/main/java/com/caoccao/javet/values/reference/IV8Module.java:202
↓ 31 callersMethodcallInteger
Call a function by objects and return {@link Integer}. @param receiver the receiver @param objects the objects @return the integer @throws JavetExce
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:211
↓ 31 callersMethodclear
Clear. @throws JavetException the javet exception @since 3.0.4
src/main/java/com/caoccao/javet/values/reference/IV8ValueSet.java:73
↓ 31 callersMethodcreateV8ValueArray
Create V8 value array. @return the V8 value array @throws JavetException the javet exception @since 0.7.0
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:57
↓ 29 callersFunctionGET_METHOD_GET_HANDLE
cpp/jni/javet_constants.h:42
↓ 29 callersFunctionToV8Value
cpp/jni/javet_converter.cpp:1141
↓ 29 callersMethodinvokeVoid
Invoke function without a return value by function name and objects as arguments. @param functionName the function name @param objects the objec
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:1180
↓ 28 callersMethodinfo
Info. @param message the message @since 0.7.0
src/main/java/com/caoccao/javet/interfaces/IJavetLogger.java:57
next →1–100 of 4,340, ranked by callers