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:
java.io.Serializable
,java.lang.Iterable
,java.util.Collection
,java.util.Set
- Direct Known Subclasses:
ListOrderedSet
,UnmodifiableSet
public abstract class AbstractSerializableSetDecorator extends AbstractSetDecorator implements java.io.Serializable
Serializable subclass of AbstractSetDecorator.- Since:
- Commons Collections 3.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Serialization version-
Fields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
collection
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSerializableSetDecorator(java.util.Set set)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
readObject(java.io.ObjectInputStream in)
Read the set in using a custom routine.private void
writeObject(java.io.ObjectOutputStream out)
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serialization version- See Also:
- Constant Field Values
-
-
Method Detail
-
writeObject
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
Write the set out using a custom routine.- Parameters:
out
- the output stream- Throws:
java.io.IOException
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
Read the set in using a custom routine.- Parameters:
in
- the input stream- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
-