public class SerializedList extends AbstractSerializedReferenceType implements SerializedAggregateType, Collection<SerializedValue>
| Constructor and Description |
|---|
SerializedList(Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ReferenceTypeVisitor<T> visitor) |
<T> T |
accept(RoleVisitor<T> visitor) |
boolean |
add(SerializedValue element) |
boolean |
addAll(Collection<? extends SerializedValue> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
List<SerializedValue> |
elements() |
SerializedValue |
get(int index) |
Type |
getComponentType() |
boolean |
isEmpty() |
Iterator<SerializedValue> |
iterator() |
List<SerializedValue> |
referencedValues() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
void |
useAs(Type type) |
getId, getUsedTypes, setIdgetType, inferType, satisfiesType, satisfiesTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, setIdgetType, getUsedTypesequals, hashCode, parallelStream, removeIf, spliterator, streampublic SerializedList(Class<?> type)
public List<SerializedValue> elements()
elements in interface SerializedAggregateTypepublic Type getComponentType()
public void useAs(Type type)
useAs in interface SerializedReferenceTypeuseAs in class AbstractSerializedReferenceTypepublic <T> T accept(RoleVisitor<T> visitor)
accept in interface SerializedRolepublic <T> T accept(ReferenceTypeVisitor<T> visitor)
accept in interface SerializedReferenceTypepublic SerializedValue get(int index)
public int size()
size in interface Collection<SerializedValue>public boolean isEmpty()
isEmpty in interface Collection<SerializedValue>public boolean contains(Object o)
contains in interface Collection<SerializedValue>public Iterator<SerializedValue> iterator()
iterator in interface Iterable<SerializedValue>iterator in interface Collection<SerializedValue>public Object[] toArray()
toArray in interface Collection<SerializedValue>public <T> T[] toArray(T[] a)
toArray in interface Collection<SerializedValue>public boolean add(SerializedValue element)
add in interface Collection<SerializedValue>public boolean remove(Object o)
remove in interface Collection<SerializedValue>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<SerializedValue>public boolean addAll(Collection<? extends SerializedValue> c)
addAll in interface Collection<SerializedValue>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<SerializedValue>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<SerializedValue>public void clear()
clear in interface Collection<SerializedValue>public List<SerializedValue> referencedValues()
referencedValues in interface SerializedValueCopyright © 2020. All rights reserved.