public static enum Shape.BoundaryType extends java.lang.Enum<Shape.BoundaryType>
Enum Constant and Description |
---|
InnerBoundary |
NoBoundary |
OuterBoundary |
Modifier and Type | Method and Description |
---|---|
static Shape.BoundaryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Shape.BoundaryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shape.BoundaryType NoBoundary
public static final Shape.BoundaryType InnerBoundary
public static final Shape.BoundaryType OuterBoundary
public static Shape.BoundaryType[] values()
for (Shape.BoundaryType c : Shape.BoundaryType.values()) System.out.println(c);
public static Shape.BoundaryType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null