public static enum ParametricObject.PolygonKind extends Enum<ParametricObject.PolygonKind>
| Enum Constant and Description |
|---|
QUADRILATERAL |
TRIANGLE |
| Modifier and Type | Method and Description |
|---|---|
static ParametricObject.PolygonKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParametricObject.PolygonKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParametricObject.PolygonKind TRIANGLE
public static final ParametricObject.PolygonKind QUADRILATERAL
public static ParametricObject.PolygonKind[] values()
for (ParametricObject.PolygonKind c : ParametricObject.PolygonKind.values()) System.out.println(c);
public static ParametricObject.PolygonKind 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 © 2009–2016. All rights reserved.