public class NbtList<E> extends AbstractList<E>
| Modifier and Type | Field and Description |
|---|---|
static NbtList<Void> |
EMPTY |
modCount| Constructor and Description |
|---|
NbtList(NbtType<E> type,
Collection<E> collection) |
NbtList(NbtType<E> tagClass,
E... array) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
E |
get(int index) |
NbtType<E> |
getType() |
int |
hashCode() |
int |
size() |
String |
toString() |
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic NbtList(NbtType<E> type, Collection<E> collection)
@SafeVarargs public NbtList(NbtType<E> tagClass, E... array)
public E get(int index)
public int size()
size in interface Collection<E>size in interface List<E>size in class AbstractCollection<E>public boolean equals(Object o)
equals in interface Collection<E>equals in interface List<E>equals in class AbstractList<E>public int hashCode()
hashCode in interface Collection<E>hashCode in interface List<E>hashCode in class AbstractList<E>public String toString()
toString in class AbstractCollection<E>Copyright © 2020. All rights reserved.