Class NbtCollection
-
- 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 abstract class NbtCollection<NMS extends RefNbtBase, E> extends Nbt<NMS> implements NbtCollectionLike<E>
-
-
Method Summary
Modifier and Type Method Description abstract Eget(int index)abstract intsize()abstract Eset(int index, E element)abstract voidadd(int index, E element)abstract Eremove(int index)final booleanadd(E nbt)final intindexOf(Object o)final intlastIndexOf(Object o)final voidclear()final booleanaddAll(int index, @NonNull() Collection<out E> c)final Iterator<E>iterator()final ListIterator<E>listIterator()final ListIterator<E>listIterator(int index)final List<E>subList(int fromIndex, int toIndex)final booleanisEmpty()final booleancontains(Object o)final Array<Object>toArray()final <T> Array<T>toArray(Array<T> a)final booleanremove(Object o)final booleancontainsAll(@NonNull() Collection<out Object> c)final booleanaddAll(@NonNull() Collection<out E> c)final booleanremoveAll(@NonNull() Collection<out Object> c)final booleanretainAll(@NonNull() Collection<out Object> c)abstract NbtCollection<NMS, E>clone()-
Methods inherited from class pers.neige.neigeitems.libs.bot.inker.bukkit.nbt.Nbt
compareTo, equals, getAsString, getId, hashCode, toString -
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
addFirst, addLast, copyOf, getFirst, getLast, of, removeFirst, removeLast, replaceAll, reversed, sort, spliterator -
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
-
size
abstract int size()
-
lastIndexOf
final int lastIndexOf(Object o)
-
clear
final void clear()
-
addAll
final boolean addAll(int index, @NonNull() Collection<out E> c)
-
listIterator
@NonNull() final ListIterator<E> listIterator()
-
listIterator
@NonNull() final ListIterator<E> listIterator(int index)
-
isEmpty
final boolean isEmpty()
-
containsAll
final boolean containsAll(@NonNull() Collection<out Object> c)
-
addAll
final boolean addAll(@NonNull() Collection<out E> c)
-
removeAll
final boolean removeAll(@NonNull() Collection<out Object> c)
-
retainAll
final boolean retainAll(@NonNull() Collection<out Object> c)
-
clone
abstract NbtCollection<NMS, E> clone()
-
-
-
-