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, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeIf, retainAll, setCollection, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private static final long serialVersionUID
protected AbstractSerializableListDecorator(java.util.List<E> list)
list
- the list to decorate, must not be nulljava.lang.NullPointerException
- if list 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