- <init>
Create a new NonBlockingHashMap with initial room for the given number of
elements, thus avoiding in
- get
Returns the value to which the specified key is mapped, or null if this map
contains no mapping for
- containsKey
Tests if the key in the table using the equals method.
- remove
Atomically do a #remove(Object) if-and-only-if the key is mapped to a value
which is equals to the g
- clear
Removes all of the mappings from this map.
- entrySet
Returns a Set view of the mappings contained in this map. The set is backed by
the map, so changes t
- keySet
Returns a Set view of the keys contained in this map. The set is backed by the
map, so changes to th
- putIfAbsent
Atomically, do a #put if-and-only-if the key is not mapped. Useful to ensure
that only a single mapp
- size
Returns the number of key-value mappings in this map.
- put
Maps the specified key to the specified value in the table. Neither key nor
value can be null. The v
- values
Returns a Collection view of the values contained in this map. The collection is
backed by the map,
- isEmpty
Returns size() == 0.