Class RegionalHashSet<E extends Locatable>
java.lang.Object
com.github.darksoulq.abyssallib.server.util.regional.RegionalHashSet<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Set<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(@NotNull Collection<? extends E> c) voidclear()booleanbooleancontainsAll(@NotNull Collection<?> c) booleanisEmpty()iterator()booleanbooleanremoveAll(@NotNull Collection<?> c) booleanretainAll(@NotNull Collection<?> c) intsize()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.Set
equals, hashCode, spliterator
-
Constructor Details
-
RegionalHashSet
public RegionalHashSet() -
RegionalHashSet
public RegionalHashSet(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 interfaceSet<E extends Locatable>
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear() -
getRegion
-