Class AbstractSerializableSetDecorator
java.lang.Object
org.apache.commons.collections.collection.AbstractCollectionDecorator
org.apache.commons.collections.set.AbstractSetDecorator
org.apache.commons.collections.set.AbstractSerializableSetDecorator
- All Implemented Interfaces:
Serializable,Iterable,Collection,Set
- Direct Known Subclasses:
ListOrderedSet,UnmodifiableSet
public abstract class AbstractSerializableSetDecorator
extends AbstractSetDecorator
implements Serializable
Serializable subclass of AbstractSetDecorator.
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidRead the set in using a custom routine.private voidWrite the set out using a custom routine.Methods inherited from class org.apache.commons.collections.set.AbstractSetDecorator
getSetMethods 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
-
AbstractSerializableSetDecorator
Constructor.
-
-
Method Details
-
writeObject
Write the set out using a custom routine.- Parameters:
out- the output stream- Throws:
IOException
-
readObject
Read the set in using a custom routine.- Parameters:
in- the input stream- Throws:
IOExceptionClassNotFoundException
-