Enum Class Preset

java.lang.Object
java.lang.Enum<Preset>
tv.hd3g.fflauncher.enums.Preset
All Implemented Interfaces:
Serializable, Comparable<Preset>, Constable

public enum Preset extends Enum<Preset>
  • Enum Constant Details

    • ULTRAFAST

      public static final Preset ULTRAFAST
    • SUPERFAST

      public static final Preset SUPERFAST
    • VERYFAST

      public static final Preset VERYFAST
    • FASTER

      public static final Preset FASTER
    • FAST

      public static final Preset FAST
    • MEDIUM

      public static final Preset MEDIUM
    • SLOW

      public static final Preset SLOW
    • SLOWER

      public static final Preset SLOWER
    • VERYSLOW

      public static final Preset VERYSLOW
    • PLACEBO

      public static final Preset PLACEBO
  • Method Details

    • values

      public static Preset[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Preset valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Preset>