Enum Class StormType

java.lang.Object
java.lang.Enum<StormType>
net.nullved.pmweatherapi.util.StormType
All Implemented Interfaces:
Serializable, Comparable<StormType>, Constable

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

    • SUPERCELL

      public static final StormType SUPERCELL
    • TORNADO

      public static final StormType TORNADO
    • SQUALL

      public static final StormType SQUALL
    • CYCLONE

      public static final StormType CYCLONE
  • Field Details

    • idx

      public final int idx
    • stage

      public final int stage
  • Method Details

    • values

      public static StormType[] 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 StormType 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
    • idx

      public int idx()
    • stage

      public int stage()
    • matches

      public boolean matches(dev.protomanly.pmweather.weather.Storm storm)