public static enum TopoUtils.Magnitude extends Enum<TopoUtils.Magnitude>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static TopoUtils.Magnitude |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopoUtils.Magnitude[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopoUtils.Magnitude ONE
public static final TopoUtils.Magnitude KILO
public static final TopoUtils.Magnitude MEGA
public static final TopoUtils.Magnitude GIGA
public static TopoUtils.Magnitude[] values()
for (TopoUtils.Magnitude c : TopoUtils.Magnitude.values()) System.out.println(c);
public static TopoUtils.Magnitude 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 toString()
toString
in class Enum<TopoUtils.Magnitude>