- 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 Object
get(long index)
long
getSize()
boolean
remove(long index)
void
set(long index, org.graalvm.polyglot.Value value)
T
unwrap()
-
-
-
Constructor Detail
-
VmHostArray
public VmHostArray(VmBridge bridge, HostArrayType<? super T> type, T self)
-
-
Method Detail
-
unwrap
public final T unwrap()
- Specified by:
unwrap
in classVmHostProxy<T>
-
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
-
-