Package cc.carm.lib.easysql.api.enums
Enum NumberType
- java.lang.Object
-
- java.lang.Enum<NumberType>
-
- cc.carm.lib.easysql.api.enums.NumberType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NumberType>
public enum NumberType extends java.lang.Enum<NumberType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NumberType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NumberType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TINYINT
public static final NumberType TINYINT
-
SMALLINT
public static final NumberType SMALLINT
-
MEDIUMINT
public static final NumberType MEDIUMINT
-
INT
public static final NumberType INT
-
BIGINT
public static final NumberType BIGINT
-
-
Method Detail
-
values
public static NumberType[] 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 (NumberType c : NumberType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumberType 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
-
-