public class Util
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Util.EnumOS |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getLastElement(java.util.List<T> list) |
static Util.EnumOS |
getOSType() |
static <V> V |
runTask(java.util.concurrent.FutureTask<V> task,
org.apache.logging.log4j.Logger logger) |
public static Util.EnumOS getOSType()
@Nullable public static <V> V runTask(java.util.concurrent.FutureTask<V> task, org.apache.logging.log4j.Logger logger)
public static <T> T getLastElement(java.util.List<T> list)