public enum CoordinateType extends Enum<CoordinateType> implements IEnum
| Modifier and Type | Method and Description |
|---|---|
static CoordinateType |
getByValue(Integer value) |
int |
getValue()
获取枚举值
|
static CoordinateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoordinateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetByValue, getDescpublic static final CoordinateType XY
public static final CoordinateType Z
public static final CoordinateType M
public static final CoordinateType ZM
public static CoordinateType[] values()
for (CoordinateType c : CoordinateType.values()) System.out.println(c);
public static CoordinateType 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 getValue()
IEnumpublic static CoordinateType getByValue(Integer value)
Copyright © 2025. All rights reserved.