- java.lang.Object
-
- swim.vm.VmHostProxy<T>
-
- swim.vm.VmHostArray<T>
-
- All Implemented Interfaces:
org.graalvm.polyglot.proxy.Proxy,org.graalvm.polyglot.proxy.ProxyArray
public class VmHostArray<T> extends VmHostProxy<T> implements org.graalvm.polyglot.proxy.ProxyArray
-
-
Constructor Summary
Constructors Constructor Description VmHostArray(VmBridge bridge, HostArrayType<? super T> type, T self)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget(long index)longgetSize()booleanremove(long index)voidset(long index, org.graalvm.polyglot.Value value)Tunwrap()
-
-
-
Constructor Detail
-
VmHostArray
public VmHostArray(VmBridge bridge, HostArrayType<? super T> type, T self)
-
-
Method Detail
-
unwrap
public final T unwrap()
- Specified by:
unwrapin classVmHostProxy<T>
-
getSize
public long getSize()
- Specified by:
getSizein interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
get
public Object get(long index)
- Specified by:
getin interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
set
public void set(long index, org.graalvm.polyglot.Value value)- Specified by:
setin interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
remove
public boolean remove(long index)
- Specified by:
removein interfaceorg.graalvm.polyglot.proxy.ProxyArray
-
-