java.lang.Iterable<E>, java.util.Collection<E>, java.util.Set<E>, LazyCollection<E>, TxSynchronizablepublic final class LazyHashSet<E> extends java.lang.Object implements LazyCollection<E>, java.util.Set<E>
| Constructor | Description | 
|---|---|
LazyHashSet(TransactionContext tx,
           ClassMolder molder,
           java.util.List<Identity> ids) | 
 Creates an instance of LazyHashSet. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
boolean | 
add(E entity) | 
|
boolean | 
addAll(java.util.Collection<? extends E> collection) | 
|
void | 
clear() | 
|
void | 
committed(TransactionContext tx) | 
 Called at the end of a transaction after commit. 
 | 
boolean | 
contains(java.lang.Object entity) | 
|
boolean | 
containsAll(java.util.Collection<?> collection) | 
|
boolean | 
equals(java.lang.Object o) | 
|
java.util.List<E> | 
getAddedEntitiesList() | 
|
java.util.List<Identity> | 
getIdsList() | 
|
java.util.List<Identity> | 
getRemovedIdsList() | 
|
int | 
hashCode() | 
|
boolean | 
isEmpty() | 
|
java.util.Iterator<E> | 
iterator() | 
|
boolean | 
remove(java.lang.Object entity) | 
|
boolean | 
removeAll(java.util.Collection<?> collection) | 
|
boolean | 
retainAll(java.util.Collection<?> collection) | 
|
void | 
rolledback(TransactionContext tx) | 
 Called at the end of a transaction after rollback. 
 | 
int | 
size() | 
|
java.lang.Object[] | 
toArray() | 
|
<A> A[] | 
toArray(A[] array) | 
public LazyHashSet(TransactionContext tx, ClassMolder molder, java.util.List<Identity> ids)
tx - Current transaction contextmolder - Associated ClassMolderids - Set of identifiers.public boolean add(E entity)
public boolean addAll(java.util.Collection<? extends E> collection)
public void clear()
public boolean contains(java.lang.Object entity)
public boolean containsAll(java.util.Collection<?> collection)
public boolean isEmpty()
public java.util.Iterator<E> iterator()
public boolean remove(java.lang.Object entity)
public boolean removeAll(java.util.Collection<?> collection)
public boolean retainAll(java.util.Collection<?> collection)
public int size()
public java.lang.Object[] toArray()
public <A> A[] toArray(A[] array)
public boolean equals(java.lang.Object o)
public int hashCode()
public java.util.List<Identity> getIdsList()
getIdsList in interface LazyCollection<E>public java.util.List<Identity> getRemovedIdsList()
getRemovedIdsList in interface LazyCollection<E>public java.util.List<E> getAddedEntitiesList()
getAddedEntitiesList in interface LazyCollection<E>public void committed(TransactionContext tx)
TxSynchronizablecommitted in interface TxSynchronizablepublic void rolledback(TransactionContext tx)
TxSynchronizablerolledback in interface TxSynchronizableIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com