Class AbstractSerializableListDecorator
- java.lang.Object
-
- org.apache.commons.collections.collection.AbstractCollectionDecorator
-
- org.apache.commons.collections.list.AbstractListDecorator
-
- org.apache.commons.collections.list.AbstractSerializableListDecorator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable,java.util.Collection,java.util.List
- Direct Known Subclasses:
FixedSizeList,GrowthList,LazyList,SetUniqueList,UnmodifiableList
public abstract class AbstractSerializableListDecorator extends AbstractListDecorator implements java.io.Serializable
Serializable subclass of AbstractListDecorator.- Since:
- Commons Collections 3.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDSerialization version-
Fields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
collection
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSerializableListDecorator(java.util.List list)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidreadObject(java.io.ObjectInputStream in)Read the list in using a custom routine.private voidwriteObject(java.io.ObjectOutputStream out)Write the list out using a custom routine.-
Methods inherited from class org.apache.commons.collections.list.AbstractListDecorator
add, addAll, get, getList, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
-
Methods inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
add, addAll, clear, contains, containsAll, equals, getCollection, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serialization version- See Also:
- Constant Field Values
-
-
Method Detail
-
writeObject
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExceptionWrite the list out using a custom routine.- Parameters:
out- the output stream- Throws:
java.io.IOException
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundExceptionRead the list in using a custom routine.- Parameters:
in- the input stream- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
-