public static enum Primitive.Flavor extends Enum<Primitive.Flavor>
Enum Constant and Description |
---|
BOX
A type that boxes a primitive, e.g.
|
OBJECT
Neither a primitive nor a boxing type.
|
PRIMITIVE
A primitive type, e.g.
|
Modifier and Type | Method and Description |
---|---|
static Primitive.Flavor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Primitive.Flavor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Primitive.Flavor PRIMITIVE
int
.public static final Primitive.Flavor BOX
Integer
.public static final Primitive.Flavor OBJECT
public static Primitive.Flavor[] values()
for (Primitive.Flavor c : Primitive.Flavor.values()) System.out.println(c);
public static Primitive.Flavor 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 nullCopyright © 2012-2014 Julian Hyde. All Rights Reserved.