public class SerializedList extends Object implements SerializedValue, List<SerializedValue>
| Constructor and Description |
|---|
SerializedList(Type type,
Class<?> valueType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic Type getType()
getType in interface SerializedValuepublic Class<?> getValueType()
getValueType in interface SerializedValuepublic void setValueType(Class<?> valueType)
public Type getComponentType()
public <T> T accept(SerializedValueVisitor<T> visitor)
accept in interface SerializedValuepublic int size()
size in interface Collection<SerializedValue>size in interface List<SerializedValue>public boolean isEmpty()
isEmpty in interface Collection<SerializedValue>isEmpty in interface List<SerializedValue>public boolean contains(Object o)
contains in interface Collection<SerializedValue>contains in interface List<SerializedValue>public Iterator<SerializedValue> iterator()
iterator in interface Iterable<SerializedValue>iterator in interface Collection<SerializedValue>iterator in interface List<SerializedValue>public Object[] toArray()
toArray in interface Collection<SerializedValue>toArray in interface List<SerializedValue>public <T> T[] toArray(T[] a)
toArray in interface Collection<SerializedValue>toArray in interface List<SerializedValue>public boolean add(SerializedValue e)
add in interface Collection<SerializedValue>add in interface List<SerializedValue>public boolean remove(Object o)
remove in interface Collection<SerializedValue>remove in interface List<SerializedValue>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<SerializedValue>containsAll in interface List<SerializedValue>public boolean addAll(Collection<? extends SerializedValue> c)
addAll in interface Collection<SerializedValue>addAll in interface List<SerializedValue>public boolean addAll(int index,
Collection<? extends SerializedValue> c)
addAll in interface List<SerializedValue>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<SerializedValue>removeAll in interface List<SerializedValue>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<SerializedValue>retainAll in interface List<SerializedValue>public void clear()
clear in interface Collection<SerializedValue>clear in interface List<SerializedValue>public SerializedValue get(int index)
get in interface List<SerializedValue>public SerializedValue set(int index, SerializedValue element)
set in interface List<SerializedValue>public void add(int index,
SerializedValue element)
add in interface List<SerializedValue>public SerializedValue remove(int index)
remove in interface List<SerializedValue>public int indexOf(Object o)
indexOf in interface List<SerializedValue>public int lastIndexOf(Object o)
lastIndexOf in interface List<SerializedValue>public ListIterator<SerializedValue> listIterator()
listIterator in interface List<SerializedValue>public ListIterator<SerializedValue> listIterator(int index)
listIterator in interface List<SerializedValue>public List<SerializedValue> subList(int fromIndex, int toIndex)
subList in interface List<SerializedValue>Copyright © 2016. All rights reserved.