Class InjectedList<E>
java.lang.Object
io.github.retrooper.packetevents.util.InjectedList<E>
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,List<E>
,SequencedCollection<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, @NotNull Collection<? extends E> c) boolean
addAll
(@NotNull Collection<? extends E> c) void
clear()
boolean
boolean
containsAll
(@NotNull Collection<?> c) get
(int index) int
boolean
isEmpty()
iterator()
int
@NotNull ListIterator
<E> @NotNull ListIterator
<E> listIterator
(int index) remove
(int index) boolean
boolean
removeAll
(@NotNull Collection<?> c) boolean
retainAll
(@NotNull Collection<?> c) int
size()
subList
(int fromIndex, int toIndex) @NotNull Object[]
toArray()
<T> T[]
toArray
(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Constructor Details
-
InjectedList
-
-
Method Details
-
originalList
-
pushBackAction
-
add
-
addAll
-
addAll
-
add
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
@NotNull public <T> T[] toArray(@NotNull T[] a) -
remove
-
containsAll
- Specified by:
containsAll
in interfaceCollection<E>
- Specified by:
containsAll
in interfaceList<E>
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<E>
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
-
listIterator
- Specified by:
listIterator
in interfaceList<E>
-
subList
-