API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.concurrent. ConcurrentMap View Source
Author(s)
Doug Lea
Since
1.5
Version
Serial
Hierarchy
 Map
      ConcurrentMap
Subinterfaces
Description
public interface ConcurrentMap
  A Map providing additional atomic putIfAbsent, remove, and replace methods.
See also:   
Methods
Hide/Show inherited methods
public V putIfAbsent ( K key, V value)
  If the specified key is not already associated with a value, associate it with the given value.
public boolean remove (Object key, Object value)
  Removes the entry for a key only if currently mapped to a given value.
public V replace ( K key, V value)
  Replaces the entry for a key only if currently mapped to some value.
public boolean replace ( K key, V oldValue, V newValue)
  Replaces the entry for a key only if currently mapped to a given value.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar