Class RegionalQueue<E extends Locatable>
java.lang.Object
com.github.darksoulq.abyssallib.server.util.regional.RegionalQueue<E>
- All Implemented Interfaces:
Iterable<E>, Collection<E>, Queue<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(@NotNull Collection<? extends E> c) voidclear()booleanbooleancontainsAll(@NotNull Collection<?> c) element()booleanisEmpty()iterator()booleanpeek()poll()remove()booleanbooleanremoveAll(@NotNull Collection<?> c) booleanretainAll(@NotNull Collection<?> c) intsize()Object @NotNull []toArray()<T> T @NotNull []toArray(T @NotNull [] a) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
RegionalQueue
public RegionalQueue() -
RegionalQueue
public RegionalQueue(boolean forceConcurrent)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<E extends Locatable>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<E extends Locatable>
-
contains
- Specified by:
containsin interfaceCollection<E extends Locatable>
-
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection<E extends Locatable>
-
toArray
public <T> T @NotNull [] toArray(T @NotNull [] a) - Specified by:
toArrayin interfaceCollection<E extends Locatable>
-
add
-
remove
- Specified by:
removein interfaceCollection<E extends Locatable>
-
containsAll
- Specified by:
containsAllin interfaceCollection<E extends Locatable>
-
addAll
- Specified by:
addAllin interfaceCollection<E extends Locatable>
-
removeAll
- Specified by:
removeAllin interfaceCollection<E extends Locatable>
-
retainAll
- Specified by:
retainAllin interfaceCollection<E extends Locatable>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<E extends Locatable>
-
offer
-
remove
-
poll
-
element
-
peek
-
getRegion
-