Class WeakMap
java.lang.Object
com.oracle.truffle.js.runtime.util.WeakMap
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.oracle.truffle.api.object.HiddenKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()newInvertedMapWithEntry(Object key, Object value) voidintsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
INVERTED_WEAK_MAP_KEY
public static final com.oracle.truffle.api.object.HiddenKey INVERTED_WEAK_MAP_KEY
-
-
Constructor Details
-
WeakMap
public WeakMap()
-
-
Method Details
-
newInvertedMap
-
newInvertedMapWithEntry
-
containsKey
- Specified by:
containsKeyin interfaceMap<Object,Object>
-
get
-
put
-
remove
-
putAll
-
containsValue
- Specified by:
containsValuein interfaceMap<Object,Object>
-
size
-
isEmpty
-
clear
-
keySet
-
values
-
entrySet
-