Enum WasmInt32Subtype
- java.lang.Object
-
- java.lang.Enum<WasmInt32Subtype>
-
- org.teavm.backend.wasm.model.expression.WasmInt32Subtype
-
- All Implemented Interfaces:
Serializable,Comparable<WasmInt32Subtype>
public enum WasmInt32Subtype extends Enum<WasmInt32Subtype>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WasmInt32SubtypevalueOf(String name)Returns the enum constant of this type with the specified name.static WasmInt32Subtype[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT8
public static final WasmInt32Subtype INT8
-
UINT8
public static final WasmInt32Subtype UINT8
-
INT16
public static final WasmInt32Subtype INT16
-
UINT16
public static final WasmInt32Subtype UINT16
-
INT32
public static final WasmInt32Subtype INT32
-
-
Method Detail
-
values
public static WasmInt32Subtype[] 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 (WasmInt32Subtype c : WasmInt32Subtype.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WasmInt32Subtype 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
-
-