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 long
Serialization versionFields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
collection
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Read the list in using a custom routine.private void
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
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:
IOException
ClassNotFoundException
-