public abstract class AbstractSerializableListDecorator<E> extends AbstractListDecorator<E>
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
Serialization version
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSerializableListDecorator(java.util.List<E> list)
Constructor that wraps (not copies).
|
| Modifier and Type | Method and Description |
|---|---|
private void |
readObject(java.io.ObjectInputStream in)
Read the list in using a custom routine.
|
private void |
writeObject(java.io.ObjectOutputStream out)
Write the list out using a custom routine.
|
add, addAll, decorated, get, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subListadd, 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 AbstractSerializableListDecorator(java.util.List<E> list)
list - the list to decorate, must not be nulljava.lang.IllegalArgumentException - if list 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