Package meteordevelopment.nbt.tags
Class ListTag<T extends Tag>
java.lang.Object
meteordevelopment.nbt.tags.Tag
meteordevelopment.nbt.tags.ListTag<T>
- All Implemented Interfaces:
Cloneable,Comparable<ListTag<T>>,Iterable<T>,Collection<T>,List<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> c)booleanaddAll(Collection<? extends T> c)voidclear()clone()intbooleanbooleancontainsAll(Collection<?> c)booleanget(int index)intgetId()inthashCode()intbooleanisEmpty()iterator()intlastIndexOf(Object o)listIterator(int index)remove(int index)booleanbooleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)intsize()subList(int fromIndex, int toIndex)Object[]toArray()<T1> T1[]toArray(T1[] a)toString()Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Field Details
-
value
-
id
public int id
-
-
Constructor Details
-
ListTag
-
ListTag
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
toArray
-
toArray
public <T1> T1[] toArray(T1[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<T extends Tag>- Specified by:
containsAllin interfaceList<T extends Tag>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T extends Tag>
-
listIterator
- Specified by:
listIteratorin interfaceList<T extends Tag>
-
listIterator
- Specified by:
listIteratorin interfaceList<T extends Tag>
-
subList
-
getId
public int getId() -
clone
-
compareTo
- Specified by:
compareToin interfaceComparable<T extends Tag>
-
iterator
-
equals
-
hashCode
public int hashCode() -
toString
-