public class

SynchronizedIdentityMap

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.collect.SynchronizedIdentityMap<K, V>

Class Overview

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

See SynchronizedLinkedMap for details and caveats.

Summary

Public Constructors
SynchronizedIdentityMap()
Public Methods
void clear()
boolean containsKey(K key)
boolean containsValue(V value)
Set<K> copyOfKeys()
K firstKey()
@return
V get(K key)
boolean isEmpty()
V put(K key, V value)
V remove(K key)
int size()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SynchronizedIdentityMap ()

Public Methods

public void clear ()

public boolean containsKey (K key)

public boolean containsValue (V value)

public Set<K> copyOfKeys ()

public K firstKey ()

@return

Throws
NoSuchElementException if the map is empty

public V get (K key)

public boolean isEmpty ()

public V put (K key, V value)

public V remove (K key)

public int size ()

public String toString ()