public abstract class AbstractSerializableSetDecorator<E> extends AbstractSetDecorator<E>
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
Serialization version
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSerializableSetDecorator(java.util.Set<E> set)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
readObject(java.io.ObjectInputStream in)
Read the set in using a custom routine.
|
private void |
writeObject(java.io.ObjectOutputStream out)
Write the set out using a custom routine.
|
decoratedadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, setCollection, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprivate static final long serialVersionUID
protected AbstractSerializableSetDecorator(java.util.Set<E> set)
set - the list to decorate, must not be nulljava.lang.IllegalArgumentException - if set is nullprivate void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
out - the output streamjava.io.IOExceptionprivate void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
in - the input streamjava.io.IOExceptionjava.lang.ClassNotFoundException