Enum Class PrimitiveTypeName
- All Implemented Interfaces:
Serializable,Comparable<PrimitiveTypeName>,Constable
enum with primitive types name and function to create array
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PrimitiveTypeNameFind primitive by nameget the function to create arraygetType namestatic PrimitiveTypeNameReturns the enum constant of this class with the specified name.static PrimitiveTypeName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LONG
Primitive long for array creation -
INT
Primitive int for array creation -
CHAR
Primitive char for array creation -
DOUBLE
Primitive double for array creation -
BYTE
Primitive byte for array creation -
BOOLEAN
Primitive boolean for array creation
-
-
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
-
getTypeName
getType name- Returns:
- type name
-
getCreatePrimitiveArray
get the function to create array- Returns:
- primitive array function
-
getByName
Find primitive by name- Parameters:
name- the Fill object containing the configuration for generating values- Returns:
- primitive type name
-