Module swim.vm
Package swim.vm

Class VmBridgeArray

java.lang.Object
swim.vm.VmHostProxy<Object[]>
swim.vm.VmBridgeArray
All Implemented Interfaces:
org.graalvm.polyglot.proxy.Proxy, org.graalvm.polyglot.proxy.ProxyArray

public class VmBridgeArray extends VmHostProxy<Object[]> implements org.graalvm.polyglot.proxy.ProxyArray
  • Constructor Details

    • VmBridgeArray

      public VmBridgeArray(VmBridge bridge, Object[] array)
  • Method Details

    • unwrap

      public final Object[] unwrap()
      Specified by:
      unwrap in class VmHostProxy<Object[]>
    • getSize

      public long getSize()
      Specified by:
      getSize in interface org.graalvm.polyglot.proxy.ProxyArray
    • get

      public Object get(long index)
      Specified by:
      get in interface org.graalvm.polyglot.proxy.ProxyArray
    • set

      public void set(long index, org.graalvm.polyglot.Value value)
      Specified by:
      set in interface org.graalvm.polyglot.proxy.ProxyArray
    • remove

      public boolean remove(long index)
      Specified by:
      remove in interface org.graalvm.polyglot.proxy.ProxyArray