Enum ValueTypeConvertion
- java.lang.Object
-
- java.lang.Enum<ValueTypeConvertion>
-
- de.inetsoftware.jwebassembly.module.ValueTypeConvertion
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ValueTypeConvertion>
public enum ValueTypeConvertion extends java.lang.Enum<ValueTypeConvertion>
Cast operations for converting one data type to another
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ValueTypeConvertion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValueTypeConvertion
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ValueTypeConvertion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
i2l
public static final ValueTypeConvertion i2l
-
i2f
public static final ValueTypeConvertion i2f
-
i2d
public static final ValueTypeConvertion i2d
-
l2i
public static final ValueTypeConvertion l2i
-
l2f
public static final ValueTypeConvertion l2f
-
l2d
public static final ValueTypeConvertion l2d
-
f2i
public static final ValueTypeConvertion f2i
-
f2l
public static final ValueTypeConvertion f2l
-
f2d
public static final ValueTypeConvertion f2d
-
d2i
public static final ValueTypeConvertion d2i
-
d2l
public static final ValueTypeConvertion d2l
-
d2f
public static final ValueTypeConvertion d2f
-
i2b
public static final ValueTypeConvertion i2b
-
i2c
public static final ValueTypeConvertion i2c
-
i2s
public static final ValueTypeConvertion i2s
-
f2i_re
public static final ValueTypeConvertion f2i_re
-
i2f_re
public static final ValueTypeConvertion i2f_re
-
d2l_re
public static final ValueTypeConvertion d2l_re
-
l2d_re
public static final ValueTypeConvertion l2d_re
-
-
Method Detail
-
values
public static ValueTypeConvertion[] 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 (ValueTypeConvertion c : ValueTypeConvertion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueTypeConvertion 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
-
-