Located in compilation unit of org.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getHashEntriesIterator()
Implements org. Returns the hash entries iterator. |
| public long | getHashSize()
Implements org. Returns the number of map entries. |
| public Object | getHashValue(Value key)
Implements org. Returns the value for the specified key. |
| public boolean | hasHashEntry(Value key)
Implements org. Returns |
| public void | putHashEntry(Value key, Value value)
Implements org. Associates the specified value with the specified key. |
| public boolean | removeHashEntry(Value key)
Overrides default org. Removes the mapping for a given key. |
| private static Object |
| values | back to summary |
|---|---|
| private final Map<Object, Object> values | |
| ProxyHashMapImpl | back to summary |
|---|---|
| pack-priv ProxyHashMapImpl(Map<Object, Object> values) | |
| getHashEntriesIterator | back to summary |
|---|---|
| public Object getHashEntriesIterator() Implements org. Doc from org. Returns the hash entries iterator. The returned object must be interpreted as an iterator
using the semantics of Examples for valid return values are:
Examples for valid iterator elements are:
| |
| getHashSize | back to summary |
|---|---|
| public long getHashSize() Implements org. Doc from org. Returns the number of map entries.
| |
| getHashValue | back to summary |
|---|---|
| public Object getHashValue(Value key) Implements org. Doc from org. Returns the value for the specified key.
| |
| hasHashEntry | back to summary |
|---|---|
| public boolean hasHashEntry(Value key) Implements org. Doc from org. Returns
| |
| putHashEntry | back to summary |
|---|---|
| public void putHashEntry(Value key, Value value) Implements org. Doc from org. Associates the specified value with the specified key. If the mapping for the specified key
does not
| |
| removeHashEntry | back to summary |
|---|---|
| public boolean removeHashEntry(Value key) Overrides default org. Doc from org. Removes the mapping for a given key. If the removal of existing mappings is not supported
then an
| |
| unboxKey | back to summary |
|---|---|
| private static Object unboxKey(Value key) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | get(long index)
Implements org. Returns the element at the given index. |
| public long | getSize()
Implements org. Returns the reported size of the array. |
| public void | set(long index, Value value)
Implements org. Sets the element at the given index. |
| mapEntry | back to summary |
|---|---|
| private Map. | |
| ProxyEntryImpl | back to summary |
|---|---|
| pack-priv ProxyEntryImpl(Map. | |
| get | back to summary |
|---|---|
| public Object get(long index) Implements org. Doc from org. Returns the element at the given index.
| |
| getSize | back to summary |
|---|---|
| public long getSize() Implements org. Doc from org. 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.
| |
| set | back to summary |
|---|---|
| public void set(long index, Value value) Implements org. Doc from org. Sets the element at the given index.
| |