Package com.pointrlabs.core.map.helpers
Class PTRHashMap
-
- All Implemented Interfaces:
public final class PTRHashMap<K extends Object, V extends Object>
Thread safe map class.
-
-
Constructor Summary
Constructors Constructor Description PTRHashMap()
-
Method Summary
Modifier and Type Method Description final Map<K, V>
getMap()
final Unit
setMap(Map<K, V> map)
final Object
getLock()
final Unit
put(K k, V v)
final Unit
remove(K k)
final Unit
clear()
final V
get(K k)
final Unit
forEach(Function2<K, V, Unit> operator)
For each pair in the map , operator is going to be invoked
-