public static enum ShapeField.DecodedTriangle.TYPE extends Enum<ShapeField.DecodedTriangle.TYPE>
Enum Constant and Description |
---|
LINE
first and third coordinates are equal
|
POINT
all coordinates are equal
|
TRIANGLE
all coordinates are different
|
Modifier and Type | Method and Description |
---|---|
static ShapeField.DecodedTriangle.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShapeField.DecodedTriangle.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeField.DecodedTriangle.TYPE POINT
public static final ShapeField.DecodedTriangle.TYPE LINE
public static final ShapeField.DecodedTriangle.TYPE TRIANGLE
public static ShapeField.DecodedTriangle.TYPE[] values()
for (ShapeField.DecodedTriangle.TYPE c : ShapeField.DecodedTriangle.TYPE.values()) System.out.println(c);
public static ShapeField.DecodedTriangle.TYPE 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 © 2000-2021 Apache Software Foundation. All Rights Reserved.