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 long
Serialization versionFields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
collection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Read the set in using a custom routine.private void
Write the set out using a custom routine.Methods inherited from class org.apache.commons.collections.set.AbstractSetDecorator
getSet
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
-
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:
IOException
ClassNotFoundException
-