Enum OdroidBoardInfoProvider.Model
- java.lang.Object
-
- java.lang.Enum<OdroidBoardInfoProvider.Model>
-
- com.diozero.internal.board.odroid.OdroidBoardInfoProvider.Model
-
- All Implemented Interfaces:
Serializable
,Comparable<OdroidBoardInfoProvider.Model>
- Enclosing class:
- OdroidBoardInfoProvider
public static enum OdroidBoardInfoProvider.Model extends Enum<OdroidBoardInfoProvider.Model>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OdroidBoardInfoProvider.Model
valueOf(String name)
Returns the enum constant of this type with the specified name.static OdroidBoardInfoProvider.Model[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
C0
public static final OdroidBoardInfoProvider.Model C0
-
U2_U3
public static final OdroidBoardInfoProvider.Model U2_U3
-
C1
public static final OdroidBoardInfoProvider.Model C1
-
XU_3_4
public static final OdroidBoardInfoProvider.Model XU_3_4
-
C2
public static final OdroidBoardInfoProvider.Model C2
-
N2_Plus
public static final OdroidBoardInfoProvider.Model N2_Plus
-
-
Method Detail
-
values
public static OdroidBoardInfoProvider.Model[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OdroidBoardInfoProvider.Model c : OdroidBoardInfoProvider.Model.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OdroidBoardInfoProvider.Model 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 nameNullPointerException
- if the argument is null
-
-