public static enum PlatformUtil.Platform extends Enum<PlatformUtil.Platform>
| Modifier and Type | Method and Description |
|---|---|
static PlatformUtil.Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformUtil.Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformUtil.Platform WIN
public static final PlatformUtil.Platform LINUX
public static final PlatformUtil.Platform MAC_OS
public static final PlatformUtil.Platform SOLARIS
public static final PlatformUtil.Platform OTHER
public static PlatformUtil.Platform[] values()
for (PlatformUtil.Platform c : PlatformUtil.Platform.values()) System.out.println(c);
public static PlatformUtil.Platform 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 © 2022. All rights reserved.