public enum LaneWidth extends Enum<LaneWidth>
Clase Java para LaneWidth.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="LaneWidth">
<restriction base="{http://www.w3.org/2001/XMLSchema}int">
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BETWEEN_3_25_AND_3_75_METERS |
LESS_THAN_3_25_METERS |
MORE_THAN_3_75_METERS |
| Modifier and Type | Method and Description |
|---|---|
static LaneWidth |
fromValue(int v) |
int |
value() |
static LaneWidth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LaneWidth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LaneWidth LESS_THAN_3_25_METERS
public static final LaneWidth BETWEEN_3_25_AND_3_75_METERS
public static final LaneWidth MORE_THAN_3_75_METERS
public static LaneWidth[] values()
for (LaneWidth c : LaneWidth.values()) System.out.println(c);
public static LaneWidth 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 value()
public static LaneWidth fromValue(int v)
Copyright © 2018. All rights reserved.