Package com.plotsquared.core.util
Class HashUtil
java.lang.Object
com.plotsquared.core.util.HashUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
hash(@org.checkerframework.checker.nullness.qual.NonNull boolean[] array)
Hashcode of a boolean array.
- Used for traversing mega plots quickly.
-
Method Details
-
hash
public static int hash(@org.checkerframework.checker.nullness.qual.NonNull boolean[] array)Hashcode of a boolean array.
- Used for traversing mega plots quickly.- Parameters:
array
- Booleans to hash- Returns:
- hashcode
-