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.
|
decorated
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, setCollection, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private 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.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
in
- the input streamjava.io.IOException
java.lang.ClassNotFoundException