const class concurrent::ConcurrentMap
ConcurrentMap is a Fantom wrapper around Java's ConcurrentHashMap. It provides high performance concurrency and allows many operations to be performed without locking. Refer to the ConcurrentHashMap Javadoc for the detailed semanatics on behavior and performance.
Add a value by key, raise exception if key was already mapped
Remove all the key/value pairs
Return true if the specified key is mapped
Iterate the map's key value pairs
Iterate the map's key value pairs until given function returns non-null and return that as the result of this method. Otherwise itereate every pair and return null
Get a value by its key or return null
Set a value by key and return old value. Return the old value mapped by the key or null if it is not currently mapped.
Get the value for the specified key, or if it doesn't exist then automatically add it with the given default value.
Return if size is zero (this is expensive and requires full segment traveral)
Return list of keys
new make(Int initialCapacity := 256)
Make with initial capacity
Remove a value by key, ignore if key not mapped
Set a value by key
Append the specified map to this map be setting every key/value from
min this map. Keys in m not yet mapped are added and keys already mapped are overwritten. Return this.
Return size (this is expensive and requires full segment traveral)
Return list of values