- java.lang.Object
-
- swim.vm.VmHostProxy<Object[]>
-
- swim.vm.VmProxyArray
-
- All Implemented Interfaces:
org.graalvm.polyglot.proxy.Proxy
,org.graalvm.polyglot.proxy.ProxyArray
public class VmProxyArray extends VmHostProxy<Object[]> implements org.graalvm.polyglot.proxy.ProxyArray
-
-
Constructor Summary
Constructors Constructor Description VmProxyArray(Object[] array)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(long index)
long
getSize()
boolean
remove(long index)
void
set(long index, org.graalvm.polyglot.Value value)
Object[]
unwrap()
-
-
-
Constructor Detail
-
VmProxyArray
public VmProxyArray(Object[] array)
-
-
Method Detail
-
unwrap
public final Object[] unwrap()
- Specified by:
unwrap
in classVmHostProxy<Object[]>
-
getSize
public long getSize()
- Specified by:
getSize
in interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
get
public Object get(long index)
- Specified by:
get
in interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
set
public void set(long index, org.graalvm.polyglot.Value value)
- Specified by:
set
in interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
remove
public boolean remove(long index)
- Specified by:
remove
in interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
-