java.util.HashSet
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class | |
| pack-priv class |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PersistentSet(SharedSessionContractImplementor
The session to which this set will belong. session)Constructor matching super. |
| public | PersistentSet(SessionImplementor
The session to which this set will belong. session)
Deprecated
Instantiates a lazy set (the underlying set is un-initialized).
PersistentSet(SharedSessionContractImplementor) should be used instead.
|
| public | PersistentSet(SharedSessionContractImplementor
The session to which this set will belong. session, Set<E> The underlying set data. set)Instantiates a non-lazy set (the underlying set is constructed from the incoming set reference). |
| public | PersistentSet(SessionImplementor
The session to which this set will belong. session, Set<E> The underlying set data. set)
Deprecated
Instantiates a non-lazy set (the underlying set is constructed
from the incoming set reference).
PersistentSet(SharedSessionContractImplementor, java. should be used instead.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(Object
element to be added to this set value)Implements java. |
| public boolean | addAll(Collection<E>
collection containing elements to be added to this set coll)Implements java. |
| 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 | beginRead()
Overrides org. Implements org. |
| public void | clear()
Implements java. |
| public boolean | contains(Object
element whose presence in this set is to be tested object)Implements java. true if this set contains the specified element.
|
| public boolean | containsAll(Collection<E>
collection to be checked for containment in this set coll)Implements java. true if this set contains all of the elements of the
specified collection.
|
| 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 key, int Unused i)Implements org. |
| public boolean | equals(Object
object to be compared for equality with this set other)Overrides java. Implements java. |
| public boolean | equalsSnapshot(CollectionPersister
The collection persister persister)Implements org. |
| 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 | isRowUpdatePossible()
Overrides org. Implements org. |
| 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 Iterator | |
| 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 | 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 boolean | remove(Object
object to be removed from this set, if present value)Implements java. |
| public boolean | removeAll(Collection<E>
collection containing elements to be removed from this set coll)Implements java. |
| public boolean | retainAll(Collection<E>
collection containing elements to be retained in this set coll)Implements java. |
| public int | |
| public Object[] | toArray()
Implements java. |
| public Object[] | toArray(Object[]
the array into which the elements of this set are to be
stored, if it is big enough; otherwise, a new array of the same
runtime type is allocated for this purpose. array)Implements java. |
| public String |