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 a RefreshableEnumSet for EntityType 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 a RefreshableEnumSet for EntityType elements.
      Parameters:
      refresher - the refresher
      Returns:
      the enum set