Class NbtByteArray
-
- All Implemented Interfaces:
-
java.lang.Comparable
,java.lang.Iterable
,java.util.Collection
,java.util.List
,java.util.SequencedCollection
,pers.neige.neigeitems.libs.bot.inker.bukkit.nbt.api.NbtCollectionLike
,pers.neige.neigeitems.libs.bot.inker.bukkit.nbt.api.NbtLike
public final class NbtByteArray extends NbtCollection<NMS, E>
-
-
Constructor Summary
Constructors Constructor Description NbtByteArray(Array<byte> value)
NbtByteArray(List<Byte> value)
-
Method Summary
Modifier and Type Method Description Byte
get(int index)
byte
getByte(int index)
int
size()
Byte
set(int index, Byte element)
void
add(int index, Byte element)
Byte
remove(int index)
Array<byte>
getAsByteArray()
String
getAsString()
NbtByteArray
clone()
int
compareTo(@NonNull() Nbt<out Object> o)
-
Methods inherited from class pers.neige.neigeitems.libs.bot.inker.bukkit.nbt.NbtCollection
add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray
-
Methods inherited from class pers.neige.neigeitems.libs.bot.inker.bukkit.nbt.Nbt
clone, equals, getId, hashCode, toString
-
Methods inherited from class pers.neige.neigeitems.libs.bot.inker.bukkit.nbt.api.NbtCollectionLike
clone
-
Methods inherited from class pers.neige.neigeitems.libs.bot.inker.bukkit.nbt.api.NbtLike
clone
-
Methods inherited from class java.lang.Comparable
compareTo
-
Methods inherited from class java.util.List
add, addAll, addFirst, addLast, clear, contains, containsAll, copyOf, get, getFirst, getLast, indexOf, isEmpty, iterator, lastIndexOf, listIterator, of, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, size, sort, spliterator, subList, toArray, toArray
-
Methods inherited from class java.util.SequencedCollection
reversed
-
Methods inherited from class java.util.Collection
parallelStream, removeIf, stream
-
Methods inherited from class java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getByte
byte getByte(int index)
-
size
int size()
-
getAsByteArray
Array<byte> getAsByteArray()
-
getAsString
String getAsString()
-
clone
NbtByteArray clone()
-
-
-
-