Class RegionalArrayList<E extends Locatable>
java.lang.Object
com.github.darksoulq.abyssallib.server.util.regional.RegionalArrayList<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,List<E>,SequencedCollection<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, @NotNull Collection<? extends E> c) booleanaddAll(@NotNull Collection<? extends E> c) voidclear()booleanbooleancontainsAll(@NotNull Collection<?> c) get(int index) intbooleanisEmpty()iterator()intlastIndexOf(@Nullable Object o) @NotNull ListIterator<E> @NotNull ListIterator<E> listIterator(int index) remove(int index) booleanbooleanremoveAll(@NotNull Collection<?> c) voidreplaceAll(@NotNull UnaryOperator<E> operator) booleanretainAll(@NotNull Collection<?> c) intsize()voidsort(@Nullable Comparator<? super E> c) subList(int fromIndex, int toIndex) Object @NotNull []toArray()<T> T @NotNull []toArray(T @NotNull [] a) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, reversed, spliterator
-
Constructor Details
-
RegionalArrayList
public RegionalArrayList() -
RegionalArrayList
public RegionalArrayList(boolean forceConcurrent)
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T @NotNull [] toArray(T @NotNull [] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<E extends Locatable>- Specified by:
containsAllin interfaceList<E extends Locatable>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
replaceAll
- Specified by:
replaceAllin interfaceList<E extends Locatable>
-
sort
-
clear
public void clear() -
get
-
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<E extends Locatable>
-
listIterator
- Specified by:
listIteratorin interfaceList<E extends Locatable>
-
listIterator
- Specified by:
listIteratorin interfaceList<E extends Locatable>
-
subList
-
getRegion
-