T - the type used in this hash setpublic class SerializableHashSet<T extends IOReadableWritable> extends HashSet<T> implements IOReadableWritable
HashSet by implementing the
IOReadableWritable interface. As a result, hash sets of this type can be used
with Nephele's RPC system.
This class is not thread-safe.
| Constructor and Description |
|---|
SerializableHashSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
add, clear, clone, contains, isEmpty, iterator, remove, sizeequals, hashCode, removeAlladdAll, containsAll, retainAll, toArray, toArray, toStringpublic void write(DataOutputView out) throws IOException
write in interface IOReadableWritableIOExceptionpublic void read(DataInputView in) throws IOException
read in interface IOReadableWritableIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.