public enum EJDKVersion extends Enum<EJDKVersion>
| Enum Constant and Description |
|---|
JDK_11 |
JDK_12 |
JDK_13 |
JDK_14 |
JDK_15 |
JDK_16 |
JDK_17 |
JDK_18 |
JDK_19 |
| Modifier and Type | Method and Description |
|---|---|
static EJDKVersion |
getFromDoubleOrNull(double dVersion) |
boolean |
isNewerOrEqualsThan(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_11
public static final EJDKVersion JDK_12
public static final EJDKVersion JDK_13
public static final EJDKVersion JDK_14
public static final EJDKVersion JDK_15
public static final EJDKVersion JDK_16
public static final EJDKVersion JDK_17
public static final EJDKVersion JDK_18
public static final EJDKVersion JDK_19
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(EJDKVersion aOther)
@Nullable public static EJDKVersion getFromDoubleOrNull(double dVersion)
Copyright © 2017–2018 Philip Helger. All rights reserved.