public class IntArrayTag extends AbstractListTag<IntTag>
| Modifier and Type | Field and Description |
|---|---|
static TagReader<IntArrayTag> |
READER |
private int[] |
value |
modCount| Constructor and Description |
|---|
IntArrayTag(int[] value) |
IntArrayTag(List<Integer> value) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int int2,
IntTag intTag) |
boolean |
addTag(int index,
Tag tag) |
void |
clear() |
IntArrayTag |
copy() |
boolean |
equals(Object o) |
IntTag |
get(int int2) |
byte |
getElementType() |
int[] |
getIntArray() |
TagReader<IntArrayTag> |
getReader() |
byte |
getType() |
int |
hashCode() |
IntTag |
remove(int int2) |
IntTag |
set(int int2,
IntTag intTag) |
boolean |
setTag(int index,
Tag tag) |
int |
size() |
private static int[] |
toArray(List<Integer> list) |
String |
toString() |
Text |
toText(String indent,
int depth) |
void |
write(DataOutput output) |
add, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, 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 static final TagReader<IntArrayTag> READER
private int[] value
public void write(DataOutput output) throws IOException
IOExceptionpublic byte getType()
public TagReader<IntArrayTag> getReader()
public String toString()
toString in interface TagtoString in class AbstractCollection<IntTag>public IntArrayTag copy()
public boolean equals(Object o)
equals in interface Collection<IntTag>equals in interface List<IntTag>equals in class AbstractList<IntTag>public int hashCode()
hashCode in interface Collection<IntTag>hashCode in interface List<IntTag>hashCode in class AbstractList<IntTag>public int[] getIntArray()
public int size()
size in interface Collection<IntTag>size in interface List<IntTag>size in class AbstractCollection<IntTag>public IntTag get(int int2)
public void add(int int2,
IntTag intTag)
public boolean setTag(int index,
Tag tag)
setTag in class AbstractListTag<IntTag>public boolean addTag(int index,
Tag tag)
addTag in class AbstractListTag<IntTag>public IntTag remove(int int2)
public byte getElementType()
getElementType in class AbstractListTag<IntTag>public void clear()
clear in interface Collection<IntTag>clear in interface List<IntTag>clear in class AbstractList<IntTag>