public enum OsmType extends Enum<OsmType>
| Enum Constant and Description |
|---|
NODE
A node.
|
RELATION
A relation.
|
WAY
A way.
|
| Modifier and Type | Method and Description |
|---|---|
static OsmType |
from(String type) |
String |
toString() |
static OsmType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OsmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsmType NODE
public static final OsmType WAY
public static final OsmType RELATION
public static OsmType[] values()
for (OsmType c : OsmType.values()) System.out.println(c);
public static OsmType 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 nullCopyright © 2010–2019 Dudie. All rights reserved.