java.lang.Object | |
↳ | org.hibernate.util.IdentityMap |
A Map where keys are compared by object identity, rather than equals().
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IdentityMap.IdentityKey | |||||||||||
IdentityMap.IdentityMapEntry |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the map entries (as instances of Map.Entry in a collection that
is safe from concurrent modification).
| |||||||||||
Workaround for a JDK 1.4.1 bug where IdentityHashMaps are not
correctly deserialized.
| |||||||||||
Return a new instance of this class, with an undefined
iteration order.
| |||||||||||
Return a new instance of this class, with iteration
order defined as the order in which entries were added
| |||||||||||
Workaround for a JDK 1.4.1 bug where IdentityHashMaps are not
correctly deserialized.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.Map
|
Return the map entries (as instances of Map.Entry in a collection that is safe from concurrent modification). ie. we may safely add new instances to the underlying Map during iteration of the entries().
Workaround for a JDK 1.4.1 bug where IdentityHashMaps are not correctly deserialized.
Return a new instance of this class, with an undefined iteration order.
size | The size of the map |
---|
Return a new instance of this class, with iteration order defined as the order in which entries were added
size | The size of the map to create |
---|
Workaround for a JDK 1.4.1 bug where IdentityHashMaps are not correctly deserialized.