public class SerializableSet extends HashSet<String>
Constructor and Description |
---|
SerializableSet() |
Modifier and Type | Method and Description |
---|---|
static SerializableSet |
deserialize(String serialized)
Deserialize the given
String into a new SerializableSet . |
String |
serialize() |
add, clear, clone, contains, isEmpty, iterator, remove, size
equals, hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
public static final String delimeter
public String serialize()
String
representation of this set. Note that
',' is used to separate values, but values are not escaped.public static SerializableSet deserialize(String serialized)
String
into a new SerializableSet
.serialized
- A String
generated by a call to
serialize
.SerializableSet
.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.