public enum EJDKVersion extends Enum<EJDKVersion>
| Enum Constant and Description |
|---|
JDK_1_1 |
JDK_1_2 |
JDK_1_3 |
JDK_1_4 |
JDK_1_5 |
JDK_1_6 |
JDK_1_7 |
JDK_1_8 |
JDK_10 |
JDK_11 |
JDK_9 |
| Modifier and Type | Field and Description |
|---|---|
static EJDKVersion |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static EJDKVersion |
getFromStringOrNull(String sVersion) |
boolean |
isNewerOrEqualsThan(EJDKVersion aOther) |
boolean |
isOlderThan(EJDKVersion aOther) |
static EJDKVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EJDKVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EJDKVersion JDK_1_1
public static final EJDKVersion JDK_1_2
public static final EJDKVersion JDK_1_3
public static final EJDKVersion JDK_1_4
public static final EJDKVersion JDK_1_5
public static final EJDKVersion JDK_1_6
public static final EJDKVersion JDK_1_7
public static final EJDKVersion JDK_1_8
public static final EJDKVersion JDK_9
public static final EJDKVersion JDK_10
public static final EJDKVersion JDK_11
public static final EJDKVersion DEFAULT
public static EJDKVersion[] values()
for (EJDKVersion c : EJDKVersion.values()) System.out.println(c);
public static EJDKVersion 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 boolean isNewerOrEqualsThan(@Nonnull EJDKVersion aOther)
public boolean isOlderThan(@Nonnull EJDKVersion aOther)
@Nullable public static EJDKVersion getFromStringOrNull(String sVersion)
Copyright © 2017–2019 Philip Helger. All rights reserved.