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