Package org.openstreetmap.josm.data
Enum Class Bounds.ParseMethod
- All Implemented Interfaces:
Serializable,Comparable<Bounds.ParseMethod>,Constable
- Enclosing class:
- Bounds
The method used by the
Bounds(String, String, ParseMethod) constructor-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOrder: left, bottom, right, topOrder: minlat, minlon, maxlat, maxlon -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Bounds.ParseMethodReturns the enum constant of this class with the specified name.static Bounds.ParseMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MINLAT_MINLON_MAXLAT_MAXLON
Order: minlat, minlon, maxlat, maxlon -
LEFT_BOTTOM_RIGHT_TOP
Order: left, bottom, right, top
-
-
Constructor Details
-
ParseMethod
private ParseMethod()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-