public enum BandingStyle extends Enum<BandingStyle>
There are two types of BandingStyles supported for travel boundary - DONUT and ENCOMPASSING
| Enum Constant and Description |
|---|
DONUT
With this banding style each boundary is determined by subtracting out the next smallest boundary.
|
ENCOMPASSING
With this banding style each boundary is determined independent of all others.
|
| Modifier and Type | Method and Description |
|---|---|
static BandingStyle |
getStyle(String value)
Converts the specified value to corresponding BandingStyle choice.
|
String |
getValue()
Returns the value of BandingStyle.
|
static BandingStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BandingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BandingStyle DONUT
public static final BandingStyle ENCOMPASSING
public static BandingStyle[] values()
for (BandingStyle c : BandingStyle.values()) System.out.println(c);
public static BandingStyle 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 getValue()
String, the value of BandingStyle.public static BandingStyle getStyle(String value)
For e.g. BandingStyle.getStyle("donut") gives BandingStyle.DONUT
value - A String, BandingStyle value.