Module com.pi4j

Enum Class PiModel

java.lang.Object
java.lang.Enum<PiModel>
com.pi4j.boardinfo.definition.PiModel
All Implemented Interfaces:
Serializable, Comparable<PiModel>, Constable

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

    • COMPUTE

      public static final PiModel COMPUTE
    • MODEL_A

      public static final PiModel MODEL_A
    • MODEL_B

      public static final PiModel MODEL_B
    • PICO

      public static final PiModel PICO
    • ZERO

      public static final PiModel ZERO
    • UNKNOWN

      public static final PiModel UNKNOWN
  • Method Details

    • values

      public static PiModel[] 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 PiModel 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
    • getLabel

      public String getLabel()
    • getDescription

      public String getDescription()