Enum ByteElement.Shifter
- java.lang.Object
-
- java.lang.Enum<ByteElement.Shifter>
-
- io.openems.edge.battery.fenecon.commercial.ByteElement.Shifter
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ByteElement.Shifter>
- Enclosing class:
- ByteElement
public static enum ByteElement.Shifter extends java.lang.Enum<ByteElement.Shifter>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ONLY_FIRST_CHANNEL
ONLY_SECOND_CHANNEL
SEPARATE_BITS_AS_6_AND_10_FOR_TWO_CHANNELS
SEPERATE_TO_TWO_8_BIT_CHANNELS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ByteElement.Shifter
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ByteElement.Shifter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEPARATE_BITS_AS_6_AND_10_FOR_TWO_CHANNELS
public static final ByteElement.Shifter SEPARATE_BITS_AS_6_AND_10_FOR_TWO_CHANNELS
-
SEPERATE_TO_TWO_8_BIT_CHANNELS
public static final ByteElement.Shifter SEPERATE_TO_TWO_8_BIT_CHANNELS
-
ONLY_FIRST_CHANNEL
public static final ByteElement.Shifter ONLY_FIRST_CHANNEL
-
ONLY_SECOND_CHANNEL
public static final ByteElement.Shifter ONLY_SECOND_CHANNEL
-
-
Method Detail
-
values
public static ByteElement.Shifter[] 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 (ByteElement.Shifter c : ByteElement.Shifter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ByteElement.Shifter valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-