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