public enum PointType extends Enum<PointType>
| Enum Constant and Description |
|---|
POINT_00001 |
POINT_0001 |
POINT_001 |
POINT_01 |
POINT_1 |
POINT_RAW |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
Float |
getValue() |
double |
roundDownToPointType(double value) |
double |
roundToPointType(double value) |
double |
roundUpToPointType(double value) |
void |
setLabel(String label) |
void |
setValue(Float value) |
static PointType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PointType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PointType POINT_1
public static final PointType POINT_01
public static final PointType POINT_001
public static final PointType POINT_0001
public static final PointType POINT_00001
public static final PointType POINT_RAW
public static PointType[] values()
for (PointType c : PointType.values()) System.out.println(c);
public static PointType 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 String getLabel()
public void setLabel(String label)
public Float getValue()
public void setValue(Float value)
public double roundDownToPointType(double value)
public double roundUpToPointType(double value)
public double roundToPointType(double value)
Copyright © 2014. All rights reserved.