java.util.HashMap
| Modifier and Type | Class and Description |
|---|---|
| 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 |
|---|---|
| protected Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PersistentMap(SessionImplementor
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, Map<K, V> The underlying map data. map)Instantiates a non-lazy map (the underlying map is constructed from the incoming map reference). |
| Modifier and Type | Method and Description |
|---|---|
| public void | beforeInitialize(CollectionPersister
The underlying collection persister. persister, int The anticipated size of the collection after initilization 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 persister)
Implements org. |
| public boolean | empty()
Implements abstract org. Implements org. |
| public Iterator | entries(CollectionPersister persister)
Implements org. |
| public boolean | entryExists(Object entry, int 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 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 persister, boolean indexIsFormula)
Implements org. |
| public Object | getElement(Object entry)
Implements org. |
| public Object | getIndex(Object entry, int i, CollectionPersister
it was more elegant before we added this... persister)Implements org. |
| public Collection | getOrphans(Serializable snapshot, String entityName)
Implements abstract org. Implements org. |
| public Serializable | getSnapshot(CollectionPersister persister)
Implements org. |
| public Object | getSnapshotElement(Object entry, int i)
Implements org. |
| public int | hashCode()
Overrides java. Implements java. |
| public void | initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
Implements org. |
| public boolean | |
| public boolean | isSnapshotEmpty(Serializable snapshot)
Implements org. |
| public boolean | isWrapper(Object collection)
Implements org. |
| public Set | |
| public boolean | needsInserting(Object entry, int i, Type elemType)
Implements org. |
| public boolean | needsUpdating(Object entry, int i, Type 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 rs, CollectionPersister persister, CollectionAliases descriptor, Object 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.
|