Package com.mouseviator.fsuipc.helpers
Enum LVarHelper.LVarValueFormat
java.lang.Object
java.lang.Enum<LVarHelper.LVarValueFormat>
com.mouseviator.fsuipc.helpers.LVarHelper.LVarValueFormat
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LVarHelper.LVarValueFormat>,java.lang.constant.Constable
- Enclosing class:
- LVarHelper
public static enum LVarHelper.LVarValueFormat extends java.lang.Enum<LVarHelper.LVarValueFormat>
An enumeration specifying a value format for LVar read and write functions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description DOUBLE64-bit doubleFLOAT32-bit floatSIGNED_BYTE8-bit signed integer (byte)SIGNED_INTEGER32-bit signed integerSIGNED_SHORT16-bit signed integer (short)UNSIGNED_BYTE8-bit unsigned integer (byte)UNSIGNED_INTEGER32-bit unsigned integerUNSIGNED_SHORT16-bit unsigned integer (short) -
Method Summary
Modifier and Type Method Description static LVarHelper.LVarValueFormatget(int value)ReturnsLVarHelper.LVarValueFormatby corresponding int value.intgetValue()static LVarHelper.LVarValueFormatvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LVarHelper.LVarValueFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
DOUBLE
64-bit double -
FLOAT
32-bit float -
SIGNED_INTEGER
32-bit signed integer -
UNSIGNED_INTEGER
32-bit unsigned integer -
SIGNED_SHORT
16-bit signed integer (short) -
UNSIGNED_SHORT
16-bit unsigned integer (short) -
SIGNED_BYTE
8-bit signed integer (byte) -
UNSIGNED_BYTE
8-bit unsigned integer (byte)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
public int getValue()- Returns:
- Integer value of this type.
-
get
public static LVarHelper.LVarValueFormat get(int value) throws java.security.InvalidParameterExceptionReturnsLVarHelper.LVarValueFormatby corresponding int value.- Parameters:
value- Integer value corresponding to one of enumeration constants.- Returns:
LVarHelper.LVarValueFormatby corresponding string value.- Throws:
java.security.InvalidParameterException- if value not corresponding to any enumeration value is passed.
-