E - the type of the elements in this setpublic 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, equals, hashCodeadd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeIf, 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.NullPointerException - if set is nullprivate void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
out - the output streamjava.io.IOException - if an error occurs while writing to the streamprivate void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
in - the input streamjava.io.IOException - if an error occurs while reading from the streamjava.lang.ClassNotFoundException - if an object read from the stream can not be loaded