public static enum LinuxInfoUtils.UsageUnit extends Enum<LinuxInfoUtils.UsageUnit>
| Enum Constant and Description |
|---|
Kbps |
| Modifier and Type | Method and Description |
|---|---|
double |
convertBy(double usageBytes) |
static LinuxInfoUtils.UsageUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinuxInfoUtils.UsageUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinuxInfoUtils.UsageUnit Kbps
public static LinuxInfoUtils.UsageUnit[] values()
for (LinuxInfoUtils.UsageUnit c : LinuxInfoUtils.UsageUnit.values()) System.out.println(c);
public static LinuxInfoUtils.UsageUnit 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 double convertBy(double usageBytes)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.