public enum PointInTimeType extends Enum<PointInTimeType>
History
of an OsmPrimitive
.Enum Constant and Description |
---|
CURRENT_POINT_IN_TIME
the point in time selected as current point when comparing two version
|
REFERENCE_POINT_IN_TIME
the point in time selected as reference point when comparing two version
|
Modifier and Type | Method and Description |
---|---|
PointInTimeType |
opposite() |
static PointInTimeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PointInTimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PointInTimeType REFERENCE_POINT_IN_TIME
public static final PointInTimeType CURRENT_POINT_IN_TIME
public static PointInTimeType[] values()
for (PointInTimeType c : PointInTimeType.values()) System.out.println(c);
public static PointInTimeType 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 PointInTimeType opposite()