- 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>
-
-
构造器概要
构造器 构造器 说明 NBTTagLongArray()
NBTTagLongArray(long[] array)
NBTTagLongArray(List<Long> array)
-
方法概要
修饰符和类型 方法 说明 void
accept(String name, NBTVisitor visitor)
void
add(int index, NBTTagLong value)
boolean
addValue(int i, NBTBase base)
void
clear()
NBTTagLongArray
clone()
boolean
equals(Object object)
NBTTagLong
get(int index)
long[]
getLongs()
byte
getTypeId()
int
hashCode()
void
load(DataInput input, int i, NBTReadLimiter limiter)
NBTTagLong
remove(int index)
NBTTagLong
set(int index, NBTTagLong value)
boolean
setValue(int i, NBTBase base)
int
size()
String
toString()
void
write(DataOutput out)
-
从类继承的方法 java.util.AbstractList
add, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, 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()
-
-