public static enum HamletSpec.Shape extends Enum<HamletSpec.Shape>
| Enum Constant and Description | 
|---|
| circlecircle | 
| Defaultdefault | 
| polypolygon | 
| rectrectangle | 
| Modifier and Type | Method and Description | 
|---|---|
| static HamletSpec.Shape | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static HamletSpec.Shape[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final HamletSpec.Shape rect
public static final HamletSpec.Shape circle
public static final HamletSpec.Shape poly
public static final HamletSpec.Shape Default
public static HamletSpec.Shape[] values()
for (HamletSpec.Shape c : HamletSpec.Shape.values()) System.out.println(c);
public static HamletSpec.Shape 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 © 2022 Apache Software Foundation. All rights reserved.