org.granite.client.persistence.collection
Class PersistentSet<E>

java.lang.Object
  extended by org.granite.client.persistence.collection.AbstractPersistentCollection<C>
      extended by org.granite.client.persistence.collection.AbstractPersistentSimpleCollection<E,Set<E>>
          extended by 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

Constructor Summary
PersistentSet()
           
PersistentSet(Set<E> collection)
           
PersistentSet(Set<E> collection, boolean clone)
           
 
Method Summary
protected  void updateFromSnapshot(ObjectInput in, org.granite.messaging.persistence.PersistentCollectionSnapshot snapshot)
           
 
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
checkInitialized, clearDirty, dirty, getClassLoader, getCollection, init, isDirty, readExternal, wasInitialized, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

PersistentSet

public PersistentSet()

PersistentSet

public PersistentSet(Set<E> collection)

PersistentSet

public PersistentSet(Set<E> collection,
                     boolean clone)
Method Detail

updateFromSnapshot

protected void updateFromSnapshot(ObjectInput in,
                                  org.granite.messaging.persistence.PersistentCollectionSnapshot snapshot)
Specified by:
updateFromSnapshot in class AbstractPersistentCollection<Set<E>>