public enum J2SEVersion extends Enum<J2SEVersion>
| Enum Constant and Description |
|---|
ONE_POINT_SIX_PLUS |
| Modifier and Type | Method and Description |
|---|---|
static J2SEVersion |
fromCode(String code) |
String |
getCode() |
String |
getLocation() |
static String[] |
getValidCodes() |
static J2SEVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static J2SEVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final J2SEVersion ONE_POINT_SIX_PLUS
public static J2SEVersion[] values()
for (J2SEVersion c : J2SEVersion.values()) System.out.println(c);
public static J2SEVersion 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 String getCode()
public String getLocation()
public static J2SEVersion fromCode(String code)
public static String[] getValidCodes()
Copyright © 2014. All Rights Reserved.