public static enum Osmformat.Relation.MemberType extends Enum<Osmformat.Relation.MemberType> implements Internal.EnumLite
OSMPBF.Relation.MemberType
Enum Constant and Description |
---|
NODE
NODE = 0; |
RELATION
RELATION = 2; |
WAY
WAY = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
NODE_VALUE
NODE = 0; |
static int |
RELATION_VALUE
RELATION = 2; |
static int |
WAY_VALUE
WAY = 1; |
Modifier and Type | Method and Description |
---|---|
int |
getNumber() |
static Internal.EnumLiteMap<Osmformat.Relation.MemberType> |
internalGetValueMap() |
static Osmformat.Relation.MemberType |
valueOf(int value) |
static Osmformat.Relation.MemberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Osmformat.Relation.MemberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Osmformat.Relation.MemberType NODE
NODE = 0;
public static final Osmformat.Relation.MemberType WAY
WAY = 1;
public static final Osmformat.Relation.MemberType RELATION
RELATION = 2;
public static final int NODE_VALUE
NODE = 0;
public static final int WAY_VALUE
WAY = 1;
public static final int RELATION_VALUE
RELATION = 2;
public static Osmformat.Relation.MemberType[] values()
for (Osmformat.Relation.MemberType c : Osmformat.Relation.MemberType.values()) System.out.println(c);
public static Osmformat.Relation.MemberType 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 final int getNumber()
getNumber
in interface Internal.EnumLite
public static Osmformat.Relation.MemberType valueOf(int value)
public static Internal.EnumLiteMap<Osmformat.Relation.MemberType> internalGetValueMap()