public static enum Square3.ShapeType extends Enum<Square3.ShapeType>
| Enum Constant and Description |
|---|
SQUARE |
| Modifier and Type | Method and Description |
|---|---|
static Square3.ShapeType |
fromValue(Object value) |
String |
value() |
static Square3.ShapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Square3.ShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Square3.ShapeType SQUARE
public static Square3.ShapeType[] values()
for (Square3.ShapeType c : Square3.ShapeType.values()) System.out.println(c);
public static Square3.ShapeType 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 nullpublic String value()
public static Square3.ShapeType fromValue(Object value)
Copyright © 2023. All rights reserved.