public enum FenceType extends Enum<FenceType>
| Modifier and Type | Method and Description |
|---|---|
String |
getFenceType() |
static FenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FenceType CIRCLE
public static final FenceType POLYGON
public static final FenceType POLYLINE
public static final FenceType DISTRICT
public static FenceType[] values()
for (FenceType c : FenceType.values()) System.out.println(c);
public static FenceType 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 getFenceType()
Copyright © 2024. All rights reserved.