public static enum Unit.Count extends Enum<Unit.Count>
| Enum Constant and Description |
|---|
EXA |
GIGA |
KILO |
MEGA |
PETA |
TERA |
UNIT |
| Modifier and Type | Method and Description |
|---|---|
double |
getMultiplier() |
static Unit.Count |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Unit.Count |
valueOfSuffix(String suffix) |
static Unit.Count[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Unit.Count UNIT
public static final Unit.Count KILO
public static final Unit.Count MEGA
public static final Unit.Count GIGA
public static final Unit.Count TERA
public static final Unit.Count PETA
public static final Unit.Count EXA
public static Unit.Count[] values()
for (Unit.Count c : Unit.Count.values()) System.out.println(c);
public static Unit.Count 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 static Unit.Count valueOfSuffix(String suffix)
public double getMultiplier()
Copyright © 2017. All rights reserved.