org.granite.client.persistence.collection
Class PersistentSet<E>
java.lang.Object
org.granite.client.persistence.collection.AbstractPersistentCollection<C>
org.granite.client.persistence.collection.AbstractPersistentSimpleCollection<E,Set<E>>
org.granite.client.persistence.collection.PersistentSet<E>
- All Implemented Interfaces:
- Externalizable, Serializable, Iterable<E>, Collection<E>, Set<E>, PersistentCollection
public class PersistentSet<E>
- extends AbstractPersistentSimpleCollection<E,Set<E>>
- implements Set<E>
- Author:
- Franck WOLFF
- See Also:
- Serialized Form
| Methods inherited from class org.granite.client.persistence.collection.AbstractPersistentSimpleCollection |
add, addAll, clear, contains, containsAll, createSnapshot, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Methods inherited from class org.granite.client.persistence.collection.AbstractPersistentCollection |
addListener, addListener, checkInitializedRead, checkInitializedWrite, clearDirty, dirty, getClassLoader, getCollection, getDetachedState, getLoader, init, initialize, initializing, isDirty, readExternal, removeListener, removeListener, setLoader, toString, uninitialize, wasInitialized, withInitialized, writeExternal |
| Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
PersistentSet
public PersistentSet()
PersistentSet
public PersistentSet(boolean initialized)
PersistentSet
public PersistentSet(Set<E> collection)
PersistentSet
public PersistentSet(Set<E> collection,
boolean clone)
doInitialize
public void doInitialize()
- Specified by:
doInitialize in class AbstractPersistentCollection<Set<E>>
updateFromSnapshot
protected void updateFromSnapshot(ObjectInput in,
PersistentCollectionSnapshot snapshot)
- Specified by:
updateFromSnapshot in class AbstractPersistentCollection<Set<E>>
clone
public PersistentSet<E> clone(boolean uninitialize)
- Specified by:
clone in interface PersistentCollection- Overrides:
clone in class AbstractPersistentCollection<Set<E>>