org.cip4.jdflib.util.thread
Class MutexMap<a>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<a,MyMutex>
          extended by org.cip4.jdflib.util.thread.MutexMap<a>
Type Parameters:
a -
All Implemented Interfaces:
Serializable, Cloneable, Map<a,MyMutex>

public class MutexMap<a>
extends HashMap<a,MyMutex>

map of mutexs

Author:
rainer prosi
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
MutexMap()
           
 
Method Summary
 MyMutex getCreate(a key)
          get the mutex for a, create it if it doesn't exist
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

MutexMap

public MutexMap()
Method Detail

getCreate

public MyMutex getCreate(a key)
get the mutex for a, create it if it doesn't exist

Parameters:
key -
Returns:


Copyright © 2013. All Rights Reserved.