TypeKind
.@Deprecated public static enum PrimitiveType.Kind extends Enum<PrimitiveType.Kind>
Enum Constant and Description |
---|
BOOLEAN
Deprecated.
The primitive type boolean
|
BYTE
Deprecated.
The primitive type byte
|
CHAR
Deprecated.
The primitive type char
|
DOUBLE
Deprecated.
The primitive type double
|
FLOAT
Deprecated.
The primitive type float
|
INT
Deprecated.
The primitive type int
|
LONG
Deprecated.
The primitive type long
|
SHORT
Deprecated.
The primitive type short
|
Modifier and Type | Method and Description |
---|---|
static PrimitiveType.Kind |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static PrimitiveType.Kind[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveType.Kind BOOLEAN
public static final PrimitiveType.Kind BYTE
public static final PrimitiveType.Kind SHORT
public static final PrimitiveType.Kind INT
public static final PrimitiveType.Kind LONG
public static final PrimitiveType.Kind CHAR
public static final PrimitiveType.Kind FLOAT
public static final PrimitiveType.Kind DOUBLE
public static PrimitiveType.Kind[] values()
for (PrimitiveType.Kind c : PrimitiveType.Kind.values()) System.out.println(c);
public static PrimitiveType.Kind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
Copyright © 2004, 2018, Oracle and/or its affiliates. All rights reserved.