public class SerializedSet extends Object implements SerializedValue, Set<SerializedValue>
| Constructor and Description |
|---|
SerializedSet(Type type,
Class<?> valueType) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(SerializedValueVisitor<T> visitor) |
boolean |
add(SerializedValue e) |
boolean |
addAll(Collection<? extends SerializedValue> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
Type |
getComponentType() |
Type |
getType() |
Class<?> |
getValueType() |
boolean |
isEmpty() |
Iterator<SerializedValue> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic Type getType()
getType in interface SerializedValuepublic Class<?> getValueType()
getValueType in interface SerializedValuepublic Type getComponentType()
public <T> T accept(SerializedValueVisitor<T> visitor)
accept in interface SerializedValuepublic int size()
size in interface Collection<SerializedValue>size in interface Set<SerializedValue>public boolean isEmpty()
isEmpty in interface Collection<SerializedValue>isEmpty in interface Set<SerializedValue>public boolean contains(Object o)
contains in interface Collection<SerializedValue>contains in interface Set<SerializedValue>public Iterator<SerializedValue> iterator()
iterator in interface Iterable<SerializedValue>iterator in interface Collection<SerializedValue>iterator in interface Set<SerializedValue>public Object[] toArray()
toArray in interface Collection<SerializedValue>toArray in interface Set<SerializedValue>public <T> T[] toArray(T[] a)
toArray in interface Collection<SerializedValue>toArray in interface Set<SerializedValue>public boolean add(SerializedValue e)
add in interface Collection<SerializedValue>add in interface Set<SerializedValue>public boolean remove(Object o)
remove in interface Collection<SerializedValue>remove in interface Set<SerializedValue>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<SerializedValue>containsAll in interface Set<SerializedValue>public boolean addAll(Collection<? extends SerializedValue> c)
addAll in interface Collection<SerializedValue>addAll in interface Set<SerializedValue>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<SerializedValue>retainAll in interface Set<SerializedValue>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<SerializedValue>removeAll in interface Set<SerializedValue>public void clear()
clear in interface Collection<SerializedValue>clear in interface Set<SerializedValue>Copyright © 2016. All rights reserved.