Package com.openinventor.inventor.fields
Enum SoSFArray.DataTypes
- java.lang.Object
-
- java.lang.Enum<SoSFArray.DataTypes>
-
- com.openinventor.inventor.fields.SoSFArray.DataTypes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoSFArray.DataTypes>
- Enclosing class:
- SoSFArray
public static enum SoSFArray.DataTypes extends java.lang.Enum<SoSFArray.DataTypes> implements IntegerValuedEnum
Supported data type enumeration values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOAT
FLOAT.SIGNED_BYTE
SIGNED_BYTE.SIGNED_INT32
SIGNED_INT32.SIGNED_SHORT
SIGNED_SHORT.UNSIGNED_BYTE
UNSIGNED_BYTE.UNSIGNED_INT32
UNSIGNED_INT32.UNSIGNED_SHORT
UNSIGNED_SHORT.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoSFArray.DataTypes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoSFArray.DataTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoSFArray.DataTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSIGNED_BYTE
public static final SoSFArray.DataTypes UNSIGNED_BYTE
UNSIGNED_BYTE.
-
UNSIGNED_SHORT
public static final SoSFArray.DataTypes UNSIGNED_SHORT
UNSIGNED_SHORT.
-
UNSIGNED_INT32
public static final SoSFArray.DataTypes UNSIGNED_INT32
UNSIGNED_INT32.
-
SIGNED_BYTE
public static final SoSFArray.DataTypes SIGNED_BYTE
SIGNED_BYTE.
-
SIGNED_SHORT
public static final SoSFArray.DataTypes SIGNED_SHORT
SIGNED_SHORT.
-
SIGNED_INT32
public static final SoSFArray.DataTypes SIGNED_INT32
SIGNED_INT32.
-
FLOAT
public static final SoSFArray.DataTypes FLOAT
FLOAT.
-
-
Method Detail
-
values
public static SoSFArray.DataTypes[] 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 (SoSFArray.DataTypes c : SoSFArray.DataTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoSFArray.DataTypes 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
-
valueOf
public static SoSFArray.DataTypes valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-