- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<T>
-
- cn.mcres.karlatemp.mxlib.nbt.NBTList<NBTTagByte>
-
- cn.mcres.karlatemp.mxlib.nbt.NBTTagByteArray
-
- 所有已实现的接口:
NBTBase
,Iterable<NBTTagByte>
,Collection<NBTTagByte>
,List<NBTTagByte>
public class NBTTagByteArray extends NBTList<NBTTagByte>
-
-
构造器概要
构造器 构造器 说明 NBTTagByteArray()
NBTTagByteArray(byte[] array)
NBTTagByteArray(List<Byte> array)
-
方法概要
修饰符和类型 方法 说明 void
accept(String name, NBTVisitor visitor)
void
add(int index, NBTTagByte value)
boolean
addValue(int i, NBTBase base)
void
clear()
NBTTagByteArray
clone()
boolean
equals(Object object)
NBTTagByte
get(int index)
byte[]
getBytes()
byte
getTypeId()
int
hashCode()
void
load(DataInput input, int i, NBTReadLimiter limiter)
NBTTagByte
remove(int index)
NBTTagByte
set(int index, NBTTagByte 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
-
-
-
-
方法详细资料
-
accept
public void accept(String name, NBTVisitor visitor)
-
get
public NBTTagByte get(int index)
- 指定者:
get
在接口中List<NBTTagByte>
- 指定者:
get
在类中AbstractList<NBTTagByte>
-
set
public NBTTagByte set(int index, NBTTagByte value)
- 指定者:
set
在接口中List<NBTTagByte>
- 指定者:
set
在类中NBTList<NBTTagByte>
-
add
public void add(int index, NBTTagByte value)
- 指定者:
add
在接口中List<NBTTagByte>
- 指定者:
add
在类中NBTList<NBTTagByte>
-
remove
public NBTTagByte remove(int index)
- 指定者:
remove
在接口中List<NBTTagByte>
- 指定者:
remove
在类中NBTList<NBTTagByte>
-
setValue
public boolean setValue(int i, NBTBase base)
- 指定者:
setValue
在类中NBTList<NBTTagByte>
-
addValue
public boolean addValue(int i, NBTBase base)
- 指定者:
addValue
在类中NBTList<NBTTagByte>
-
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<NBTTagByte>
-
clone
public NBTTagByteArray clone()
- 指定者:
clone
在接口中NBTBase
- 指定者:
clone
在类中NBTList<NBTTagByte>
-
size
public int size()
- 指定者:
size
在接口中Collection<NBTTagByte>
- 指定者:
size
在接口中List<NBTTagByte>
- 指定者:
size
在类中AbstractCollection<NBTTagByte>
-
clear
public void clear()
- 指定者:
clear
在接口中Collection<NBTTagByte>
- 指定者:
clear
在接口中List<NBTTagByte>
- 覆盖:
clear
在类中AbstractList<NBTTagByte>
-
hashCode
public int hashCode()
- 指定者:
hashCode
在接口中Collection<NBTTagByte>
- 指定者:
hashCode
在接口中List<NBTTagByte>
- 覆盖:
hashCode
在类中AbstractList<NBTTagByte>
-
equals
public boolean equals(Object object)
- 指定者:
equals
在接口中Collection<NBTTagByte>
- 指定者:
equals
在接口中List<NBTTagByte>
- 覆盖:
equals
在类中AbstractList<NBTTagByte>
-
getBytes
public byte[] getBytes()
-
-