public static enum Version.COMPONENT extends Enum<Version.COMPONENT>
Modifier and Type | Method and Description |
---|---|
static Version.COMPONENT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Version.COMPONENT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version.COMPONENT major
public static final Version.COMPONENT minor
public static final Version.COMPONENT micro
public static final Version.COMPONENT qualifier
public static Version.COMPONENT[] values()
for (Version.COMPONENT c : Version.COMPONENT.values()) System.out.println(c);
public static Version.COMPONENT 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 © 2009–2023 Oracle Corporation. All rights reserved.