Package org.gnome.webkit.jsc
Enum Class TypedArrayType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<TypedArrayType>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum TypedArrayType
extends Enum<TypedArrayType>
implements Enumeration
Possible types of the elements contained in a typed array.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionArray elements are 32-bit floating point numbers (float).Array elements are 64-bit floating point numbers (double).Array elements are 16-bit signed integers (int16_t).Array elements are 32-bit signed integers (int32_t).Array elements are 64-bit signed integers (int64_t).Array elements are 8-bit signed integers (int8_t).Not a typed array, or type unsupported.Array elements are 16-bit unsigned integers (uint16_t).Array elements are 32-bit unsigned integers (uint32_t).Array elements are 64-bit unsigned integers (uint64_t).Array elements are 8-bit unsigned integers (uint8_t).Array elements are 8-bit unsigned integers (uint8_t). -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Get the numeric value of this enumstatic TypedArrayType
of
(int value) Create a new TypedArrayType for the provided valuestatic TypedArrayType
Returns the enum constant of this class with the specified name.static TypedArrayType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Not a typed array, or type unsupported. -
INT8
Array elements are 8-bit signed integers (int8_t). -
INT16
Array elements are 16-bit signed integers (int16_t). -
INT32
Array elements are 32-bit signed integers (int32_t). -
INT64
Array elements are 64-bit signed integers (int64_t). -
UINT8
Array elements are 8-bit unsigned integers (uint8_t). -
UINT8_CLAMPED
Array elements are 8-bit unsigned integers (uint8_t). -
UINT16
Array elements are 16-bit unsigned integers (uint16_t). -
UINT32
Array elements are 32-bit unsigned integers (uint32_t). -
UINT64
Array elements are 64-bit unsigned integers (uint64_t). -
FLOAT32
Array elements are 32-bit floating point numbers (float). -
FLOAT64
Array elements are 64-bit floating point numbers (double).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new TypedArrayType for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-