类 NBTTagLongArray
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<T>
-
- cn.mcres.karlatemp.mxlib.nbt.NBTList<NBTTagLong>
-
- cn.mcres.karlatemp.mxlib.nbt.NBTTagLongArray
-
- 所有已实现的接口:
NBTBase,Iterable<NBTTagLong>,Collection<NBTTagLong>,List<NBTTagLong>
public class NBTTagLongArray extends NBTList<NBTTagLong>
-
-
字段概要
-
从类继承的字段 java.util.AbstractList
modCount
-
-
构造器概要
构造器 构造器 说明 NBTTagLongArray()NBTTagLongArray(long[] array)NBTTagLongArray(List<Long> array)
-
方法概要
修饰符和类型 方法 说明 voidaccept(String name, NBTVisitor visitor)voidadd(int index, NBTTagLong value)booleanaddValue(int i, NBTBase base)voidclear()NBTTagLongArrayclone()booleanequals(Object object)NBTTagLongget(int index)long[]getLongs()bytegetTypeId()inthashCode()voidload(DataInput input, int i, NBTReadLimiter limiter)NBTTagLongremove(int index)NBTTagLongset(int index, NBTTagLong value)booleansetValue(int i, NBTBase base)intsize()StringtoString()voidwrite(DataOutput out)-
从类继承的方法 java.util.AbstractList
add, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
-
从类继承的方法 java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
-
从接口继承的方法 java.util.Collection
parallelStream, removeIf, stream, toArray
-
从接口继承的方法 java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
方法详细资料
-
get
public NBTTagLong get(int index)
- 指定者:
get在接口中List<NBTTagLong>- 指定者:
get在类中AbstractList<NBTTagLong>
-
set
public NBTTagLong set(int index, NBTTagLong value)
- 指定者:
set在接口中List<NBTTagLong>- 指定者:
set在类中NBTList<NBTTagLong>
-
add
public void add(int index, NBTTagLong value)- 指定者:
add在接口中List<NBTTagLong>- 指定者:
add在类中NBTList<NBTTagLong>
-
remove
public NBTTagLong remove(int index)
- 指定者:
remove在接口中List<NBTTagLong>- 指定者:
remove在类中NBTList<NBTTagLong>
-
setValue
public boolean setValue(int i, NBTBase base)- 指定者:
setValue在类中NBTList<NBTTagLong>
-
addValue
public boolean addValue(int i, NBTBase base)- 指定者:
addValue在类中NBTList<NBTTagLong>
-
accept
public void accept(String name, NBTVisitor visitor)
-
write
public void write(DataOutput out) throws IOException
- 抛出:
IOException
-
load
public void load(DataInput input, int i, NBTReadLimiter limiter) throws IOException
- 抛出:
IOException
-
getTypeId
public byte getTypeId()
-
toString
public String toString()
- 指定者:
toString在接口中NBTBase- 覆盖:
toString在类中AbstractCollection<NBTTagLong>
-
clone
public NBTTagLongArray clone()
- 指定者:
clone在接口中NBTBase- 指定者:
clone在类中NBTList<NBTTagLong>
-
size
public int size()
- 指定者:
size在接口中Collection<NBTTagLong>- 指定者:
size在接口中List<NBTTagLong>- 指定者:
size在类中AbstractCollection<NBTTagLong>
-
clear
public void clear()
- 指定者:
clear在接口中Collection<NBTTagLong>- 指定者:
clear在接口中List<NBTTagLong>- 覆盖:
clear在类中AbstractList<NBTTagLong>
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中Collection<NBTTagLong>- 指定者:
hashCode在接口中List<NBTTagLong>- 覆盖:
hashCode在类中AbstractList<NBTTagLong>
-
equals
public boolean equals(Object object)
- 指定者:
equals在接口中Collection<NBTTagLong>- 指定者:
equals在接口中List<NBTTagLong>- 覆盖:
equals在类中AbstractList<NBTTagLong>
-
getLongs
public long[] getLongs()
-
-