Methods Summary |
---|
public boolean | contains(java.lang.Object collection, java.lang.Object entity)Optional operation. Does the collection contain the entity instance?
|
public java.util.Iterator | getElementsIterator(java.lang.Object collection)Return an iterator over the elements of this collection - the passed collection
instance may or may not be a wrapper
|
public java.lang.Object | indexOf(java.lang.Object collection, java.lang.Object entity)Optional operation. Return the index of the entity in the collection.
|
public org.hibernate.collection.PersistentCollection | instantiate(org.hibernate.engine.SessionImplementor session, org.hibernate.persister.collection.CollectionPersister persister)Instantiate an uninitialized instance of the collection wrapper
|
public java.lang.Object | instantiate(int anticipatedSize)Instantiate an empty instance of the "underlying" collection (not a wrapper),
but with the given anticipated size (i.e. accounting for initial size
and perhaps load factor).
|
public java.lang.Object | replaceElements(java.lang.Object original, java.lang.Object target, org.hibernate.persister.collection.CollectionPersister persister, java.lang.Object owner, java.util.Map copyCache, org.hibernate.engine.SessionImplementor session)Replace the elements of a collection with the elements of another collection
|
public org.hibernate.collection.PersistentCollection | wrap(org.hibernate.engine.SessionImplementor session, java.lang.Object collection)Wrap an instance of a collection
|