Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/caoccao/Javet
/ functions
Functions
4,340 in github.com/caoccao/Javet
⨍
Functions
4,340
◇
Types & classes
475
↓ 28 callers
Method
toV8Value
(T object)
src/main/java/com/caoccao/javet/values/reference/IV8Module.java:207
↓ 27 callers
Function
ToV8PersistentReference
cpp/jni/javet_converter.h:268
↓ 27 callers
Method
throwError
Throw an error of the given type and message in V8. @param v8RuntimeHandle the V8 runtime handle @param v8ValueErrorType the V8 value error type @pa
src/main/java/com/caoccao/javet/interop/IV8Native.java:1988
↓ 26 callers
Method
asV8ValueFunctionWithError
Get V8ValueFunction by V8 value array and index. If the V8ValueFunction is invalid, throw a TypeError. @param v8Runtime the V8 runtime @param v8Value
src/main/java/com/caoccao/javet/utils/V8ValueUtils.java:168
↓ 26 callers
Method
equals
Check if two V8 values are equal (==). @param v8RuntimeHandle the V8 runtime handle @param v8ValueHandle1 the first V8 value handle @param v8ValueHa
src/main/java/com/caoccao/javet/interop/IV8Native.java:258
↓ 26 callers
Method
getByteLength
Returns the byte length of this typed array. @return the byte length @throws JavetException the javet exception
src/main/java/com/caoccao/javet/values/reference/IV8ValueTypedArray.java:41
↓ 26 callers
Method
isClosed
Is closed. @return true : closed, false: not closed @since 0.9.10
src/main/java/com/caoccao/javet/interfaces/IJavetClosable.java:40
↓ 25 callers
Function
GET_METHOD_CONSTRUCTOR
cpp/jni/javet_constants.h:37
↓ 25 callers
Function
ToV8String
cpp/jni/javet_converter.h:286
↓ 25 callers
Method
createV8ValueLong
Create V8 value long. @param longValue the long value @return the V8 value long @throws JavetException the javet exception @since 0.7.4
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:215
↓ 25 callers
Method
getError
Gets error. @return the error @since 0.8.5
src/main/java/com/caoccao/javet/exceptions/JavetException.java:92
↓ 25 callers
Method
isFulfilled
Is fulfilled. @return true : fulfilled, false : not fulfilled @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/values/reference/IV8ValuePromise.java:243
↓ 24 callers
Method
executeLong
Execute and return long. @return the long @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/interop/IV8Executable.java:136
↓ 24 callers
Method
getMethod
Gets method that does not take any arguments by method name. @param methodName the method name @return the method @throws NoSuchMethodException the n
src/main/java/com/caoccao/javet/utils/receivers/IJavetCallbackReceiver.java:37
↓ 23 callers
Method
asV8ValueObject
As V8ValueObject by V8 value array and index. @param v8Values the V8 values @param index the index @return the V8 value object @since 3.0.4
src/main/java/com/caoccao/javet/utils/V8ValueUtils.java:189
↓ 23 callers
Method
getBoolean
Gets element as boolean by key object. @param index the index @return the element as boolean @throws JavetException the javet exception @since 2.0.1
src/main/java/com/caoccao/javet/values/reference/IV8Context.java:78
↓ 23 callers
Method
getResponses
()
src/test/java/com/caoccao/javet/interop/TestV8Inspector.java:827
↓ 23 callers
Method
set
(Object key, Object value)
src/main/java/com/caoccao/javet/values/reference/V8ValueObject.java:659
↓ 22 callers
Function
ToJavaString
cpp/jni/javet_converter.h:89
↓ 22 callers
Method
filter
Polyfill Array.prototype.filter(). The filter() method of Array instances creates a shallow copy of a portion of a given array, filtered down to just
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginList.java:574
↓ 22 callers
Method
toV8Value
( V8Runtime v8Runtime, Object object, final int depth)
src/main/java/com/caoccao/javet/interop/converters/JavetObjectConverter.java:339
↓ 22 callers
Method
validateTargetObject
(Object targetObject)
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginSet.java:633
↓ 21 callers
Method
compileV8Module
Compile V8 module. @return the V8 module @throws JavetException the javet exception @since 0.9.13
src/main/java/com/caoccao/javet/interop/executors/IV8Executor.java:48
↓ 21 callers
Method
getNext
Gets next. @return the next
src/main/java/com/caoccao/javet/values/reference/IV8ValueIterator.java:33
↓ 21 callers
Method
isCompiled
Is this function compiled. @return true : yes, false : no @throws JavetException the javet exception @since 2.0.1
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:488
↓ 21 callers
Method
isNaN
Returns true if the specified half-precision float value represents a Not-a-Number, false otherwise. @param h A half-precision float value @return Tr
src/main/java/com/caoccao/javet/utils/Float16.java:488
↓ 21 callers
Method
resetContext
Reset context. @throws JavetException the javet exception @since 0.7.1
src/main/java/com/caoccao/javet/interop/engine/IJavetEngine.java:82
↓ 21 callers
Method
runAndWait
( long timeOutInMilliseconds, long intervalInMilliseconds, IRunner runner)
src/test/java/com/caoccao/javet/BaseTestJavet.java:156
↓ 20 callers
Method
createV8ValueTypedArray
Create V8 value typed array. @param type the type @param length the length @return the V8 value typed array @throws JavetException the javet except
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:352
↓ 20 callers
Method
getByteOffset
Returns the byte offset of this typed array within its underlying buffer. @return the byte offset @throws JavetException the javet exception
src/main/java/com/caoccao/javet/values/reference/IV8ValueTypedArray.java:49
↓ 20 callers
Method
getPropertyString
Gets property value as string by key object. @param key the key @return the property value as string @throws JavetException the javet exception @sinc
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:816
↓ 20 callers
Method
getV8ModuleCount
Gets V8 module count. @return the V8 module count @since 0.8.1
src/main/java/com/caoccao/javet/interop/V8Runtime.java:1876
↓ 20 callers
Method
map
Polyfill Array.prototype.map(). The map() method of Array instances creates a new array populated with the results of calling a provided function on e
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginList.java:1119
↓ 20 callers
Method
start
()
src/test/java/com/caoccao/javet/interop/callback/TestV8FunctionCallback.java:157
↓ 20 callers
Method
toClone
Get a clone of the current V8 value. @param <T> the type parameter @return the cloned V8 value @throws JavetException the javet exception @since 0.7.
src/main/java/com/caoccao/javet/interop/IV8Cloneable.java:37
↓ 19 callers
Method
createV8Inspector
Create a V8 inspector session. @param v8RuntimeHandle the V8 runtime handle @param v8Inspector the V8 inspector object @param name the
src/main/java/com/caoccao/javet/interop/IV8Native.java:221
↓ 19 callers
Method
getCode
Gets code. @return the code @since 0.8.5
src/main/java/com/caoccao/javet/exceptions/JavetError.java:478
↓ 19 callers
Method
getEngine
Gets engine. @return the engine @throws JavetException the javet exception @since 0.7.0
src/main/java/com/caoccao/javet/interop/engine/IJavetEnginePool.java:144
↓ 19 callers
Method
getObject
Gets element as object by key object. @param <T> the type parameter @param index the index @return the element as object @throws JavetException the
src/main/java/com/caoccao/javet/values/reference/IV8Context.java:185
↓ 19 callers
Method
getProxyPlugins
Gets proxy plugins. @return the proxy plugins @since 3.0.4
src/main/java/com/caoccao/javet/interop/converters/JavetConverterConfig.java:274
↓ 19 callers
Method
getScriptId
Gets script id. <p> The module must be a SourceTextModule and must not have a kErrored status. Otherwise, -1 is returned. @return the script id @thro
src/main/java/com/caoccao/javet/values/reference/IV8Module.java:164
↓ 19 callers
Method
getSize
Returns the number of entries in this container. @return the size of this container @throws JavetException the javet exception
src/main/java/com/caoccao/javet/values/reference/IV8ValueKeyContainer.java:42
↓ 19 callers
Method
getSizeInBytes
Returns the size in bytes of each element in this typed array. @return the element size in bytes
src/main/java/com/caoccao/javet/values/reference/IV8ValueTypedArray.java:64
↓ 19 callers
Method
setModule
Sets module. @param module the module @return the self @since 0.9.1
src/main/java/com/caoccao/javet/interop/executors/IV8Executor.java:206
↓ 18 callers
Function
IS_V8_FUNCTION
cpp/jni/javet_enums.h:212
↓ 18 callers
Method
delete
(Object key)
src/main/java/com/caoccao/javet/values/reference/V8ValueObject.java:302
↓ 18 callers
Method
evaluate
Evaluate the module. @param <T> the type parameter @return the t @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/values/reference/IV8Module.java:78
↓ 18 callers
Method
getProperty
Gets property value by key object. <p> The return value must be consumed, otherwise memory leak may occur. @param <T> the type parameter @param key t
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:693
↓ 18 callers
Method
validateTargetObject
(Object targetObject)
src/main/java/com/caoccao/javet/interop/proxy/plugins/JavetProxyPluginMap.java:447
↓ 17 callers
Function
ToV8InternalJSFunction
cpp/jni/javet_converter.h:339
↓ 17 callers
Method
addListeners
Adds one or more inspector listeners to receive CDP notifications and responses. @param listeners the listeners to add
src/main/java/com/caoccao/javet/interop/V8Inspector.java:74
↓ 17 callers
Method
createV8ValueBigInteger
Create V8 value big integer. @param bigInteger the big integer @return the V8 value big integer @throws JavetException the javet exception @since 1.1
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:90
↓ 17 callers
Method
createV8ValueNull
Create V8 value null. @return the V8 value null @since 0.7.2
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:243
↓ 17 callers
Method
invoke
Invoke the function by the V8 runtime and the target object, then return a V8 value. @param v8Runtime the V8 runtime @param targetObject the targe
src/main/java/com/caoccao/javet/interop/binding/IClassProxyPluginFunction.java:40
↓ 17 callers
Method
unbind
Unbind functions and properties by object. @param callbackReceiver the callback receiver @return the unbind function and property count @throws Javet
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:1460
↓ 16 callers
Method
add
Add a value. @param <T> the type parameter @param value the value @return the value @since 0.9.14
src/main/java/com/caoccao/javet/interop/V8Scope.java:128
↓ 16 callers
Method
getContext
Gets context. @return the context @since 3.0.4
src/main/java/com/caoccao/javet/interfaces/IJavetEntityError.java:36
↓ 16 callers
Method
getInstance
Gets instance by JS runtime type. @param jsRuntimeType the JS runtime type @return the instance @since 0.7.0
src/main/java/com/caoccao/javet/interop/V8Host.java:94
↓ 16 callers
Method
getJSRuntimeType
()
src/test/java/com/caoccao/javet/interop/callback/TestV8FunctionCallback.java:114
↓ 16 callers
Method
getTargetClass
Gets target class. @return the target class @since 1.1.7
src/main/java/com/caoccao/javet/interop/binding/ClassDescriptor.java:294
↓ 16 callers
Method
isSealed
Is sealed. @return true : yes, false: no @throws JavetException the javet exception @since 3.1.3
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:1246
↓ 16 callers
Method
isV8
()
src/test/java/com/caoccao/javet/BaseTestJavet.java:152
↓ 16 callers
Method
setBuiltInModuleResolution
Sets built-in module resolution. @param builtInModuleResolution the built-in module resolution flag @return the self @since 5.0.6
src/main/java/com/caoccao/javet/interop/options/NodeRuntimeOptions.java:83
↓ 16 callers
Method
typeErrorFunctionIsNotSupported
TypeError: ${functionName}() is not supported. @param functionName the function name @param v8Runtime the V8 runtime @return the V8 value @since 3
src/main/java/com/caoccao/javet/interop/proxy/plugins/BaseJavetProxyPlugin.java:336
↓ 15 callers
Function
ToExternalV8Value
cpp/jni/javet_converter.cpp:583
↓ 15 callers
Method
createV8ValueSymbol
Create V8 value symbol. @param description the description @return the V8 value symbol @throws JavetException the javet exception @since 0.9.11
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:326
↓ 15 callers
Method
getClassProxyPlugin
Gets class proxy plugin. @return the class proxy plugin @since 3.0.4
src/main/java/com/caoccao/javet/interop/binding/ClassDescriptor.java:172
↓ 15 callers
Method
getDescription
Gets description. @return the description @since 3.0.4
src/main/java/com/caoccao/javet/interfaces/IJavetEntitySymbol.java:33
↓ 15 callers
Method
getMethod
Gets method. @return the method @since 0.9.2
src/main/java/com/caoccao/javet/interop/binding/MethodDescriptor.java:79
↓ 15 callers
Method
getRuntimeOptions
Gets the runtime options. @return the runtime options @since 1.0.0
src/main/java/com/caoccao/javet/interop/V8Runtime.java:1760
↓ 15 callers
Method
getV8Scope
Gets V8 scope. @return the V8 scope @since 0.9.14
src/main/java/com/caoccao/javet/interop/V8Runtime.java:1896
↓ 15 callers
Method
isUserDefined
Is user. @return true : user defined, false : not user defined @since 0.8.8
src/main/java/com/caoccao/javet/enums/JSFunctionType.java:124
↓ 15 callers
Method
logDebug
Log debug. @param format the format @param objects the objects @since 0.7.0
src/main/java/com/caoccao/javet/interfaces/IJavetLogger.java:66
↓ 15 callers
Method
name
()
src/test/java/com/caoccao/javet/interop/converters/TestJavetProxyConverter.java:2499
↓ 15 callers
Method
set
handler.set() The handler.set() method is a trap for the [[Set]] object internal method, which is used by operations such as using property accessors
src/main/java/com/caoccao/javet/interop/proxy/IJavetProxyHandler.java:337
↓ 15 callers
Method
split
(String separator, String string)
src/test/java/com/caoccao/javet/interop/converters/TestJavetProxyConverter.java:2235
↓ 15 callers
Method
toObject
(V8Value v8Value, final int depth)
src/main/java/com/caoccao/javet/interop/converters/JavetObjectConverter.java:201
↓ 14 callers
Function
IS_V8_MAP
cpp/jni/javet_enums.h:214
↓ 14 callers
Function
TO_JAVA_LONG
cpp/jni/javet_v8.h:203
↓ 14 callers
Method
batchPush
Batch push items. @param batchSize the batch size @param objects the objects @return the item size @throws JavetException the javet exception
src/main/java/com/caoccao/javet/values/reference/IV8ValueArray.java:116
↓ 14 callers
Method
getConverter
Gets converter. @return the converter @since 0.8.5
src/main/java/com/caoccao/javet/interop/V8Runtime.java:1578
↓ 14 callers
Method
getEndPosition
Gets end position. @return the end position @since 0.9.1
src/main/java/com/caoccao/javet/exceptions/JavetScriptingError.java:157
↓ 14 callers
Method
getStartPosition
Gets start position. @return the start position @since 0.9.1
src/main/java/com/caoccao/javet/exceptions/JavetScriptingError.java:226
↓ 14 callers
Method
setEscapable
Sets escapable to true. @return the self @since 0.9.13
src/main/java/com/caoccao/javet/interop/V8Scope.java:363
↓ 14 callers
Method
setProperty
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:1371
↓ 13 callers
Method
canDiscardCompiled
Can discard compiled byte code. @return true : yes, false : no @throws JavetException the javet exception @since 2.0.1
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:336
↓ 13 callers
Method
createV8ValueMap
Create V8 value map. @return the V8 value map @throws JavetException the javet exception @since 0.7.0
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:234
↓ 13 callers
Method
createV8ValueZonedDateTime
Create V8 value zoned date time. @param jsTimestamp the js timestamp @return the V8 value zoned date time @throws JavetException the javet exception
src/main/java/com/caoccao/javet/interop/IV8Creatable.java:371
↓ 13 callers
Method
getCallCount
()
src/test/java/com/caoccao/javet/mock/MockDirectProxyObjectHandler.java:49
↓ 13 callers
Method
getLong
Gets element as long by key object. @param index the index @return the element as long @throws JavetException the javet exception @since 2.0.1
src/main/java/com/caoccao/javet/values/reference/IV8Context.java:154
↓ 13 callers
Method
getType
()
src/main/java/com/caoccao/javet/values/reference/V8ValueTypedArray.java:294
↓ 13 callers
Method
hasOwnProperty
Has own property key by key object. @param key the key @return true : yes, false: no @throws JavetException the javet exception @since 0.7.0
src/main/java/com/caoccao/javet/values/reference/IV8ValueObject.java:930
↓ 13 callers
Method
isEmpty
Is empty. @param str the str @return true : empty, false : not empty @since 3.0.3
src/main/java/com/caoccao/javet/utils/StringUtils.java:85
↓ 12 callers
Function
IS_USER_DEFINED_FUNCTION
cpp/jni/javet_v8_internal.h:108
↓ 12 callers
Method
debug
Debug. @param message the message @since 0.7.0
src/main/java/com/caoccao/javet/interfaces/IJavetLogger.java:32
↓ 12 callers
Method
getBuffer
()
src/main/java/com/caoccao/javet/values/reference/V8ValueTypedArray.java:268
↓ 12 callers
Method
getBuiltInSymbol
Gets built-in Symbol. @return the built-in Symbol @throws JavetException the javet exception @since 0.9.11
src/main/java/com/caoccao/javet/values/reference/V8ValueGlobalObject.java:149
↓ 12 callers
Method
getPoolMaxSize
Gets pool max size. @return the pool max size @since 0.9.1
src/main/java/com/caoccao/javet/interop/engine/JavetEngineConfig.java:249
↓ 12 callers
Method
getResourceName
Gets resource name. @return the resource name @throws JavetException the javet exception @since 0.8.0
src/main/java/com/caoccao/javet/values/reference/IV8Module.java:152
↓ 12 callers
Method
getScriptSource
Gets {@link ScriptSource}. <p> A user-defined JavaScript function is part of a script from start position to end position. This method returns the sou
src/main/java/com/caoccao/javet/values/reference/IV8ValueFunction.java:459
← previous
next →
101–200 of 4,340, ranked by callers