Class SmallMap<K, V extends @Nullable Object>
java.lang.Object
com.ibm.wala.util.collections.SmallMap<K,V>
- All Implemented Interfaces:
Map<K,V>
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-