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:
Serializable,Iterable,Collection,List
- Direct Known Subclasses:
FixedSizeList,GrowthList,LazyList,SetUniqueList,UnmodifiableList
public abstract class AbstractSerializableListDecorator
extends AbstractListDecorator
implements Serializable
Serializable subclass of AbstractListDecorator.
- Since:
- Commons Collections 3.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization versionFields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
collection -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidRead the list in using a custom routine.private voidWrite 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, subListMethods 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version- See Also:
-
-
Constructor Details
-
AbstractSerializableListDecorator
Constructor.
-
-
Method Details
-
writeObject
Write the list out using a custom routine.- Parameters:
out- the output stream- Throws:
IOException
-
readObject
Read the list in using a custom routine.- Parameters:
in- the input stream- Throws:
IOExceptionClassNotFoundException
-