public class LongArrayTag extends AbstractListTag<LongTag>
| Modifier and Type | Field and Description |
|---|---|
static TagReader<LongArrayTag> |
READER |
private long[] |
value |
modCount| Constructor and Description |
|---|
LongArrayTag(List<Long> value) |
LongArrayTag(long[] value) |
LongArrayTag(it.unimi.dsi.fastutil.longs.LongSet value) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int int2,
LongTag longTag) |
boolean |
addTag(int index,
Tag tag) |
void |
clear() |
LongArrayTag |
copy() |
boolean |
equals(Object o) |
LongTag |
get(int int2) |
byte |
getElementType() |
long[] |
getLongArray() |
TagReader<LongArrayTag> |
getReader() |
byte |
getType() |
int |
hashCode() |
LongTag |
method_10606(int int2,
LongTag longTag) |
LongTag |
remove(int int2) |
boolean |
setTag(int index,
Tag tag) |
int |
size() |
private static long[] |
toArray(List<Long> list) |
String |
toString() |
Text |
toText(String indent,
int depth) |
void |
write(DataOutput output) |
setadd, 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<LongArrayTag> READER
private long[] value
public LongArrayTag(long[] value)
public LongArrayTag(it.unimi.dsi.fastutil.longs.LongSet value)
public void write(DataOutput output) throws IOException
IOExceptionpublic byte getType()
public TagReader<LongArrayTag> getReader()
public String toString()
toString in interface TagtoString in class AbstractCollection<LongTag>public LongArrayTag copy()
public boolean equals(Object o)
equals in interface Collection<LongTag>equals in interface List<LongTag>equals in class AbstractList<LongTag>public int hashCode()
hashCode in interface Collection<LongTag>hashCode in interface List<LongTag>hashCode in class AbstractList<LongTag>public long[] getLongArray()
public int size()
size in interface Collection<LongTag>size in interface List<LongTag>size in class AbstractCollection<LongTag>public LongTag get(int int2)
public void add(int int2,
LongTag longTag)
public boolean setTag(int index,
Tag tag)
setTag in class AbstractListTag<LongTag>public boolean addTag(int index,
Tag tag)
addTag in class AbstractListTag<LongTag>public LongTag remove(int int2)
public byte getElementType()
getElementType in class AbstractListTag<LongTag>public void clear()
clear in interface Collection<LongTag>clear in interface List<LongTag>clear in class AbstractList<LongTag>