Tabnine Logo
V8Object.initialize
Code IndexAdd Tabnine to your IDE (free)

How to use
initialize
method
in
com.eclipsesource.v8.V8Object

Best Java code snippets using com.eclipsesource.v8.V8Object.initialize (Showing top 8 results out of 315)

origin: eclipsesource/J2V8

protected V8Object(final V8 v8, final Object data) {
  super(v8);
  if (v8 != null) {
    this.v8.checkThread();
    initialize(this.v8.getV8RuntimePtr(), data);
  }
}
origin: eclipsesource/J2V8

@Override
protected void initialize(final long runtimePtr, final Object data) {
  if (data == null) {
    super.initialize(runtimePtr, null);
    return;
  }
  JavaCallback javaCallback = (JavaCallback) data;
  long[] pointers = v8.initNewV8Function(runtimePtr);
  // position 0 is the object reference, position 1 is the function reference
  v8.createAndRegisterMethodDescriptor(javaCallback, pointers[1]);
  released = false;
  addObjectReference(pointers[0]);
}
origin: eclipsesource/J2V8

protected V8Object(final V8 v8, final Object data) {
  super(v8);
  if (v8 != null) {
    this.v8.checkThread();
    initialize(this.v8.getV8RuntimePtr(), data);
  }
}
origin: eclipsesource/J2V8

@Override
protected void initialize(final long runtimePtr, final Object data) {
  if (data == null) {
    super.initialize(runtimePtr, null);
    return;
  }
  JavaCallback javaCallback = (JavaCallback) data;
  long[] pointers = v8.initNewV8Function(runtimePtr);
  // position 0 is the object reference, position 1 is the function reference
  v8.createAndRegisterMethodDescriptor(javaCallback, pointers[1]);
  released = false;
  addObjectReference(pointers[0]);
}
origin: com.eclipsesource.j2v8/j2v8_win32_x86_64

protected V8Object(final V8 v8, final Object data) {
  super(v8);
  if (v8 != null) {
    this.v8.checkThread();
    initialize(this.v8.getV8RuntimePtr(), data);
  }
}
origin: com.eclipsesource.j2v8/j2v8_macosx_x86_64

protected V8Object(final V8 v8, final Object data) {
  super(v8);
  if (v8 != null) {
    this.v8.checkThread();
    initialize(this.v8.getV8RuntimePtr(), data);
  }
}
origin: com.eclipsesource.j2v8/j2v8_win32_x86_64

@Override
protected void initialize(final long runtimePtr, final Object data) {
  if (data == null) {
    super.initialize(runtimePtr, null);
    return;
  }
  JavaCallback javaCallback = (JavaCallback) data;
  long[] pointers = v8.initNewV8Function(runtimePtr);
  // position 0 is the object reference, position 1 is the function reference
  v8.createAndRegisterMethodDescriptor(javaCallback, pointers[1]);
  released = false;
  addObjectReference(pointers[0]);
}
origin: com.eclipsesource.j2v8/j2v8_macosx_x86_64

@Override
protected void initialize(final long runtimePtr, final Object data) {
  if (data == null) {
    super.initialize(runtimePtr, null);
    return;
  }
  JavaCallback javaCallback = (JavaCallback) data;
  long[] pointers = v8.initNewV8Function(runtimePtr);
  // position 0 is the object reference, position 1 is the function reference
  v8.createAndRegisterMethodDescriptor(javaCallback, pointers[1]);
  released = false;
  addObjectReference(pointers[0]);
}
com.eclipsesource.v8V8Objectinitialize

Popular methods of V8Object

  • registerJavaMethod
    Register a Java method reflectively given it's name a signature. The option to include the JS Object
  • <init>
  • get
    Returns the value associated with this key. Values are Java Objects. If the value is a primitive, it
  • executeObjectFunction
    Invoke a JavaScript function and return the result as a V8Object. If the result is not a V8Object th
  • executeStringFunction
    Invoke a JavaScript function and return the result as a String. If the result is not a String, or do
  • executeVoidFunction
    Invokes a JavaScript function which does not return a result.
  • getKeys
    Returns all the keys associated with this JavaScript Object. Keys associated with the objects protot
  • isUndefined
  • release
  • add
    Adds a key value pair to the receiver where the value is a boolean.
  • getArray
    Returns the V8Array value associated with this key. If the value associated with this key does not e
  • getString
    Returns the String value associated with this key. If the value associated with this key does not ex
  • getArray,
  • getString,
  • toString,
  • addUndefined,
  • equals,
  • executeArrayFunction,
  • executeBooleanFunction,
  • executeFunction,
  • executeIntegerFunction,
  • getInteger

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Reference (javax.naming)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now