public class ListData<T> extends Data<List<T>> implements List<T>
| Constructor and Description |
|---|
ListData(Datatype type,
String key,
String subkey,
List<T> value) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
T value) |
boolean |
add(T value) |
boolean |
addAll(Collection<? extends T> collection) |
boolean |
addAll(int index,
Collection<? extends T> collection) |
void |
clear() |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> collection) |
T |
get(int index) |
String |
getSubkey() |
int |
indexOf(Object object) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object object) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(Object object) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
T |
set(int index,
T value) |
int |
size() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<t> t[] |
toArray(t[] array) |
equals, getBooleanListValue, getBooleanValue, getCompoundListValue, getCompoundValue, getFloatListValue, getFloatValue, getIntegerListValue, getIntegerValue, getKey, getListValue, getStringListValue, getStringValue, getType, getValue, hashCode, isBooleanData, isBooleanListData, isCompoundData, isCompoundListData, isDocument, isFloatData, isFloatListData, isIntegerData, isIntegerListData, isListData, isMetadata, isStringData, isStringListData, setBooleanValue, setFloatValue, setIntegerValue, setStringValue, setValue, toBooleanData, toBooleanListData, toCompoundData, toCompoundListData, toFloatData, toFloatListData, toIntegerData, toIntegerListData, toListData, toString, toStringData, toStringListDataclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic ListData(Datatype type, String key, String subkey, List<T> value) throws NullPointerException, IndexOutOfBoundsException
public int lastIndexOf(Object object)
lastIndexOf in interface List<T>public boolean addAll(Collection<? extends T> collection)
public boolean addAll(int index, Collection<? extends T> collection)
public boolean removeAll(Collection<?> collection)
public boolean retainAll(Collection<?> collection)
public boolean containsAll(Collection<?> collection)
containsAll in interface Collection<T>containsAll in interface List<T>public void clear()
public boolean isEmpty()
public int size()
public ListIterator<T> listIterator()
listIterator in interface List<T>public ListIterator<T> listIterator(int index)
listIterator in interface List<T>Copyright © 2010–2019 Francesco Kriegel. All rights reserved.