public static enum OperatingSystem.ProcessSort extends Enum<OperatingSystem.ProcessSort>
Enum Constant and Description |
---|
CPU |
MEMORY |
NAME |
NEWEST |
OLDEST |
PARENTPID |
PID |
Modifier and Type | Method and Description |
---|---|
static OperatingSystem.ProcessSort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatingSystem.ProcessSort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatingSystem.ProcessSort CPU
public static final OperatingSystem.ProcessSort MEMORY
public static final OperatingSystem.ProcessSort OLDEST
public static final OperatingSystem.ProcessSort NEWEST
public static final OperatingSystem.ProcessSort PID
public static final OperatingSystem.ProcessSort PARENTPID
public static final OperatingSystem.ProcessSort NAME
public static OperatingSystem.ProcessSort[] values()
for (OperatingSystem.ProcessSort c : OperatingSystem.ProcessSort.values()) System.out.println(c);
public static OperatingSystem.ProcessSort 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 nullCopyright © 2010–2021 oshi. All rights reserved.