Package nonapi.io.github.classgraph.json
Enum FieldTypeInfo.PrimitiveType
- java.lang.Object
-
- java.lang.Enum<FieldTypeInfo.PrimitiveType>
-
- nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FieldTypeInfo.PrimitiveType>
- Enclosing class:
- FieldTypeInfo
private static enum FieldTypeInfo.PrimitiveType extends java.lang.Enum<FieldTypeInfo.PrimitiveType>
The Enum PrimitiveType.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PrimitiveType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FieldTypeInfo.PrimitiveType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FieldTypeInfo.PrimitiveType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NON_PRIMITIVE
public static final FieldTypeInfo.PrimitiveType NON_PRIMITIVE
Non-primitive type.
-
INTEGER
public static final FieldTypeInfo.PrimitiveType INTEGER
Integer type.
-
LONG
public static final FieldTypeInfo.PrimitiveType LONG
Long type.
-
SHORT
public static final FieldTypeInfo.PrimitiveType SHORT
Short type.
-
DOUBLE
public static final FieldTypeInfo.PrimitiveType DOUBLE
Double type.
-
FLOAT
public static final FieldTypeInfo.PrimitiveType FLOAT
Float type.
-
BOOLEAN
public static final FieldTypeInfo.PrimitiveType BOOLEAN
Boolean type.
-
BYTE
public static final FieldTypeInfo.PrimitiveType BYTE
Byte type.
-
CHARACTER
public static final FieldTypeInfo.PrimitiveType CHARACTER
Character type.
-
CLASS_REF
public static final FieldTypeInfo.PrimitiveType CLASS_REF
Class reference
-
-
Method Detail
-
values
public static FieldTypeInfo.PrimitiveType[] 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 (FieldTypeInfo.PrimitiveType c : FieldTypeInfo.PrimitiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldTypeInfo.PrimitiveType 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
-
-