| Modifier and Type | Field and Description |
|---|---|
static com.oracle.truffle.api.object.HiddenKey |
INVERTED_WEAK_MAP_KEY |
| Constructor and Description |
|---|
WeakMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Object,Object>> |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Set<Object> |
keySet() |
static Map<WeakMap,Object> |
newInvertedMap() |
Map<WeakMap,Object> |
newInvertedMapWithEntry(Object key,
Object value) |
Object |
put(Object key,
Object value) |
void |
putAll(Map<? extends Object,? extends Object> m) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
public static final com.oracle.truffle.api.object.HiddenKey INVERTED_WEAK_MAP_KEY
public Map<WeakMap,Object> newInvertedMapWithEntry(Object key, Object value)
public boolean containsKey(Object key)
containsKey in interface Map<Object,Object>public boolean containsValue(Object value)
containsValue in interface Map<Object,Object>