public enum ShapeUnit extends Enum<ShapeUnit>
Enum Constant and Description |
---|
CIRCLE |
ENVELOPE |
LINE |
PLANE |
POLYGON |
SEGMENT |
SPHERE |
Modifier and Type | Method and Description |
---|---|
static ShapeUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShapeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeUnit ENVELOPE
public static final ShapeUnit CIRCLE
public static final ShapeUnit PLANE
public static final ShapeUnit LINE
public static final ShapeUnit SEGMENT
public static final ShapeUnit SPHERE
public static final ShapeUnit POLYGON
public static ShapeUnit[] values()
for (ShapeUnit c : ShapeUnit.values()) System.out.println(c);
public static ShapeUnit 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 © 2018 Terra Software Informatics LLC.. All rights reserved.