java.util.HashMap
| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract class | |
| pack-priv class | |
| pack-priv class | |
| pack-priv class | PersistentMap.EntrySetProxy
a wrapper for Map.Entry sets |
| pack-priv class | |
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private transient List | |
| protected Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PersistentMap(SharedSessionContractImplementor
The session to which this map will belong. session)Instantiates a lazy map (the underlying map is un-initialized). |
| public | PersistentMap(SessionImplementor
The session to which this map will belong. session)
Deprecated
Instantiates a lazy map (the underlying map is un-initialized).
PersistentMap(SharedSessionContractImplementor) should be used instead.
|
| public | PersistentMap(SharedSessionContractImplementor
The session to which this map will belong. session, Map<K, V> The underlying map data. map)Instantiates a non-lazy map (the underlying map is constructed from the incoming map reference). |
| public | PersistentMap(SessionImplementor
The session to which this map will belong. session, Map<K, V> The underlying map data. map)
Deprecated
Instantiates a non-lazy map (the underlying map is constructed
from the incoming map reference).
PersistentMap(SharedSessionContractImplementor, Map) should be used instead.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | beforeInitialize(CollectionPersister
The underlying collection persister. persister, int The anticipated size of the collection after initialization is complete. anticipatedSize)Implements org. |
| public void | clear()
Implements java. |
| public boolean | containsKey(Object
key whose presence in this map is to be tested key)Implements java. true if this map contains a mapping for the specified
key.
|
| public boolean | containsValue(Object
value whose presence in this map is to be tested value)Implements java. true if this map maps one or more keys to the
specified value.
|
| public Serializable | disassemble(CollectionPersister
The collection persister persister)Implements org. |
| public boolean | empty()
Implements abstract org. Implements org. |
| public boolean | endRead()
Overrides org. Implements org. |
| public Iterator | entries(CollectionPersister
The collection persister. persister)Implements org. |
| public boolean | entryExists(Object
The object to check if it exists as a collection element entry, int Unused i)Implements org. |
| public Set | entrySet()
Implements java. Set view of the mappings contained in this map.
|
| public boolean | equals(Object
object to be compared for equality with this map other)Overrides java. Implements java. |
| public boolean | equalsSnapshot(CollectionPersister
The collection persister persister)Implements org. |
| public Object | get(Object
the key whose associated value is to be returned key)Implements java. null if this map contains no mapping for the key.
|
| public Iterator | getDeletes(CollectionPersister
The collection persister persister, boolean For indexed collections, tells whether the index is a formula (calculated value) mapping indexIsFormula)Implements org. |
| public Object | getElement(Object
The object instance for which to get the collection element instance. entry)Implements org. |
| public Object | getIndex(Object
The collection entry/element entry, int The assumed index i, CollectionPersister it was more elegant before we added this... persister)Implements org. |
| public Collection | getOrphans(Serializable
The snapshot state snapshot, String The name of the entity that are the elements of the collection entityName)Implements abstract org. Implements org. |
| public Serializable | getSnapshot(CollectionPersister
The collection persister persister)Implements org. |
| public Object | getSnapshotElement(Object
The entry entry, int The index i)Implements org. |
| public int | hashCode()
Overrides java. Implements java. |
| public void | initializeFromCache(CollectionPersister
The collection persister persister, Serializable The disassembled cached state disassembled, Object The collection owner owner)Implements org. |
| public boolean | |
| public boolean | isSnapshotEmpty(Serializable
The snapshot to check snapshot)Implements org. |
| public boolean | isWrapper(Object
The collection to check whether this is wrapping it collection)Implements org. |
| public Set | |
| public boolean | needsInserting(Object
The collection element to check entry, int The index (for indexed collections) i, Type The type for the element elemType)Implements org. |
| public boolean | needsUpdating(Object
The collection element to check entry, int The index (for indexed collections) i, Type The type for the element elemType)Implements org. |
| public Object | put(Object
key with which the specified value is to be associated key, Object value to be associated with the specified key value)Implements java. |
| public void | putAll(Map<K, V>
mappings to be stored in this map puts)Implements java. |
| public Object | readFrom(ResultSet
The JDBC ResultSet rs, CollectionPersister The collection role persister, CollectionAliases The aliases used for the columns making up the collection descriptor, Object The collection owner owner)Implements org. |
| public Object | remove(Object
key whose mapping is to be removed from the map key)Implements java. |
| public int | |
| public String | |
| public Collection | values()
Implements java. Collection view of the values contained in this map.
|