Package wtf.choco.alchema.util
Class RefreshableEnumSets
java.lang.Object
wtf.choco.alchema.util.RefreshableEnumSets
public final class RefreshableEnumSets
extends java.lang.Object
A set of utility methods to create
RefreshableEnumSets
.- Author:
- Parker Hawke - Choco
-
Method Summary
Modifier and Type Method Description static @NotNull wtf.choco.commons.collection.RefreshableEnumSet<@NotNull org.bukkit.entity.EntityType>
entityType(@NotNull java.util.function.Supplier<@NotNull java.util.List<@NotNull java.lang.String>> refresher)
Create aRefreshableEnumSet
forEntityType
elements.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
entityType
@NotNull public static @NotNull wtf.choco.commons.collection.RefreshableEnumSet<@NotNull org.bukkit.entity.EntityType> entityType(@NotNull @NotNull java.util.function.Supplier<@NotNull java.util.List<@NotNull java.lang.String>> refresher)Create aRefreshableEnumSet
forEntityType
elements.- Parameters:
refresher
- the refresher- Returns:
- the enum set
-