Package com.diozero.devices
Enum GarminLidarLiteV4.HardwareRevision
- java.lang.Object
-
- java.lang.Enum<GarminLidarLiteV4.HardwareRevision>
-
- com.diozero.devices.GarminLidarLiteV4.HardwareRevision
-
- All Implemented Interfaces:
Serializable
,Comparable<GarminLidarLiteV4.HardwareRevision>
- Enclosing class:
- GarminLidarLiteV4
public static enum GarminLidarLiteV4.HardwareRevision extends Enum<GarminLidarLiteV4.HardwareRevision>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getValue()
static GarminLidarLiteV4.HardwareRevision
of(int value)
static GarminLidarLiteV4.HardwareRevision
valueOf(String name)
Returns the enum constant of this type with the specified name.static GarminLidarLiteV4.HardwareRevision[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final GarminLidarLiteV4.HardwareRevision A
-
B
public static final GarminLidarLiteV4.HardwareRevision B
-
UNKNOWN
public static final GarminLidarLiteV4.HardwareRevision UNKNOWN
-
-
Method Detail
-
values
public static GarminLidarLiteV4.HardwareRevision[] 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 (GarminLidarLiteV4.HardwareRevision c : GarminLidarLiteV4.HardwareRevision.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GarminLidarLiteV4.HardwareRevision 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
-
getValue
public byte getValue()
-
of
public static GarminLidarLiteV4.HardwareRevision of(int value)
-
-