Additional top-level class in compilation unit: DefaultProxyArrayIterator.
Proxy
| Modifier and Type | Method and Description |
|---|---|
| public static ProxyArray | |
| public static ProxyArray | |
| public Object | |
| public default Object | |
| public long | |
| public default boolean | Returns: true when the element was removed, false when the element
didn't exist.Removes the element at the given index. |
| public void |
| fromArray | back to summary |
|---|---|
| public static ProxyArray fromArray(Object... values) Creates a proxy array backed by a Java Object array. If the set values of the array are host
values then they will be
| |
| fromList | back to summary |
|---|---|
| public static ProxyArray fromList(List<Object> values) Creates a proxy array backed by a Java List. If the set values of the list are host values
then the they will be
| |
| get | back to summary |
|---|---|
| public Object get(long index) Returns the element at the given index.
| |
| getIterator | back to summary |
|---|---|
| public default Object getIterator() Implements org. Doc from org. Returns an iterator. The returned object must be interpreted as an iterator using the
semantics of
| |
| getSize | back to summary |
|---|---|
| public long getSize() Returns the reported size of the array. The returned size of an array does not limit a guest language to get and set values using arbitrary indices. The array size is typically used by Graal languages to traverse the array.
| |
| remove | back to summary |
|---|---|
| public default boolean remove(long index) Removes the element at the given index.
| |
| set | back to summary |
|---|---|
| public void set(long index, Value value) Sets the element at the given index.
| |