public enum MarkerBatchUnit extends Enum<MarkerBatchUnit> implements Enumeration
| Enum Constant and Description | 
|---|
METERS
The size of a marker is defined in meters. 
 | 
PIXELS
The size of a marker is defined in pixels. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static MarkerBatchUnit | 
getDefault()
Get the enum constant that is considered to be the default. 
 | 
static MarkerBatchUnit | 
getFromValue(int value)
Get the enum constant that is associated with the given numeric value. 
 | 
int | 
getValue()
Get the numeric value associated with this enum constant. 
 | 
static MarkerBatchUnit | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static MarkerBatchUnit[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final MarkerBatchUnit PIXELS
public static final MarkerBatchUnit METERS
public static MarkerBatchUnit[] values()
for (MarkerBatchUnit c : MarkerBatchUnit.values()) System.out.println(c);
public static MarkerBatchUnit 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 int getValue()
getValue in interface Enumeration@Nonnull public static MarkerBatchUnit getFromValue(int value)
value - a numeric value.@Nonnull public static MarkerBatchUnit getDefault()