# Class: com.pnfsoftware.jeb.util.collect.SynchronizedIdentityMap

A serializable, inefficient, fully synchronized, identity pseudo\-map. 

 See [SynchronizedLinkedMap](SynchronizedLinkedMap) for details and caveats.

## Constructor: SynchronizedIdentityMap

Description: Create an empty synchronized identity map.

## Method: clear

Description: Remove all mappings.

## Method: containsKey
- parameter: `key`, type: `K`
- return type: `boolean`

Description: 
parameter: key: key
return: true if the key is present

## Method: containsValue
- parameter: `value`, type: `V`
- return type: `boolean`

Description: 
parameter: value: value
return: true if the value is present

## Method: copyOfKeys
- return type: `java.util.Set<K>`

Description: Copy the current keys.
return: copy of the key set

## Method: firstKey
- return type: `K`

Description: 
return: first key in iteration order
throws: if the map is empty

## Method: get
- parameter: `key`, type: `K`
- return type: `V`

Description: 
parameter: key: key
return: value associated with the key, or null

## Method: isEmpty
- return type: `boolean`

Description: 
return: true if no mapping exists

## Method: put
- parameter: `key`, type: `K`
- parameter: `value`, type: `V`
- return type: `V`

Description: Add or replace a mapping.
parameter: key: non\-null key
parameter: value: non\-null value
return: previous value, or null

## Method: remove
- parameter: `key`, type: `K`
- return type: `V`

Description: Remove a mapping.
parameter: key: key
return: removed value, or null

## Method: size
- return type: `int`

Description: 
return: number of mappings

## Method: toString
- return type: `java.lang.String`


