public enum RegionType extends Enum<RegionType>
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get the name of the region.
|
static RegionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionType CUBOID
public static final RegionType POLYGON
public static final RegionType GLOBAL
public static RegionType[] values()
for (RegionType c : RegionType.values()) System.out.println(c);
public static RegionType 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 getName()
Copyright © 2015. All Rights Reserved.