Class AbstractSerializableCollectionDecorator
java.lang.Object
org.apache.commons.collections.collection.AbstractCollectionDecorator
org.apache.commons.collections.collection.AbstractSerializableCollectionDecorator
- All Implemented Interfaces:
Serializable
,Iterable
,Collection
- Direct Known Subclasses:
PredicatedCollection
,TransformedCollection
,UnmodifiableBoundedCollection
,UnmodifiableCollection
public abstract class AbstractSerializableCollectionDecorator
extends AbstractCollectionDecorator
implements Serializable
Serializable subclass of AbstractCollectionDecorator.
- 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 collection in using a custom routine.private void
Write the collection out using a custom routine.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, spliterator, stream, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version- See Also:
-
-
Constructor Details
-
AbstractSerializableCollectionDecorator
Constructor.
-
-
Method Details
-
writeObject
Write the collection out using a custom routine.- Parameters:
out
- the output stream- Throws:
IOException
-
readObject
Read the collection in using a custom routine.- Parameters:
in
- the input stream- Throws:
IOException
ClassNotFoundException
-