|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.util.IdentityMap
A Map where keys are compared by object identity, rather than equals().
Nested Class Summary | |
static class |
IdentityMap.IdentityKey
|
static class |
IdentityMap.IdentityMapEntry
|
Nested classes inherited from class java.util.Map |
Map.Entry |
Method Summary | |
void |
clear()
|
static List |
concurrentEntries(Map map)
Return the map entries (as instances of Map.Entry in a collection that is safe from concurrent modification). |
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object val)
|
static Map |
deserialize(Object o)
Workaround for a JDK 1.4.1 bug where IdentityHashMaps are not correctly deserialized. |
static List |
entries(Map map)
|
List |
entryList()
|
Set |
entrySet()
|
Object |
get(Object key)
|
static Map |
instantiate(int size)
Return a new instance of this class, with an undefined iteration order |
static Map |
instantiateSequenced(int size)
Return a new instance of this class, with iteration order defined by the order that entries were added |
boolean |
isEmpty()
|
Iterator |
keyIterator()
|
static Iterator |
keyIterator(Map map)
|
Set |
keySet()
|
Object |
put(Object key,
Object value)
|
void |
putAll(Map otherMap)
|
Object |
remove(Object key)
|
static Object |
serialize(Map map)
Workaround for a JDK 1.4.1 bug where IdentityHashMaps are not correctly deserialized. |
int |
size()
|
Collection |
values()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Method Detail |
public static Map instantiate(int size)
public static Map instantiateSequenced(int size)
public static List concurrentEntries(Map map)
map
-
public static List entries(Map map)
public static Iterator keyIterator(Map map)
public Iterator keyIterator()
public int size()
public boolean isEmpty()
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object val)
containsValue
in interface Map
public Object get(Object key)
public Object put(Object key, Object value)
public Object remove(Object key)
public void putAll(Map otherMap)
public void clear()
public Set keySet()
public Collection values()
public Set entrySet()
public List entryList()
public static Object serialize(Map map)
map
-
public static Map deserialize(Object o)
o
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |