Enum PresetEnum

java.lang.Object
java.lang.Enum<PresetEnum>
ws.schild.jave.encode.enums.PresetEnum
All Implemented Interfaces:
Serializable, Comparable<PresetEnum>, java.lang.constant.Constable

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

    • ULTRAFAST

      public static final PresetEnum ULTRAFAST
      Code quality from low to high
    • SUPERFAST

      public static final PresetEnum SUPERFAST
    • VERYFAST

      public static final PresetEnum VERYFAST
    • FASTER

      public static final PresetEnum FASTER
    • FAST

      public static final PresetEnum FAST
    • MEDIUM

      public static final PresetEnum MEDIUM
    • SLOW

      public static final PresetEnum SLOW
    • SLOWER

      public static final PresetEnum SLOWER
    • VERYSLOW

      public static final PresetEnum VERYSLOW
    • PLACEBO

      public static final PresetEnum PLACEBO
  • Method Details

    • values

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

      public static PresetEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getPresetName

      public String getPresetName()