Class SmallMap<K,V extends @Nullable Object>
java.lang.Object
com.ibm.wala.util.collections.SmallMap<K,V>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
SmallMap
public SmallMap()
-
-
Method Details
-
size
-
getKey
Use with care. Fails if key is null.- Returns:
- the ith key
- Throws:
IllegalStateException
-
getValue
Use with care.- Returns:
- the ith key
- Throws:
IllegalStateException
-
isEmpty
-
containsKey
-
containsValue
-
get
-
put
-
remove
-
putAll
-
clear
-
keySet
-
values
-
entrySet
-