public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
addToArray(T[] in,
T n) |
static int |
compareInteger(Integer a,
Integer b) |
static boolean |
compareNullSafe(Integer a,
Integer b) |
static <T> boolean |
contains(T[] in,
T x,
Comparator<T> c) |
static Integer |
nullSafeAdd(Integer a,
boolean fa,
Integer b,
boolean fb) |
static Integer |
nullSafeMax(Integer a,
Integer b) |
static Integer |
nullSafeMin(Integer a,
Integer b) |
static Integer |
nullSafeSub(Integer a,
boolean fa,
Integer b,
boolean fb) |
static <T> T[] |
removeToArray(T[] in,
T n) |
static double |
round(double x) |
public static <T> boolean contains(T[] in,
T x,
Comparator<T> c)
public static <T> T[] addToArray(T[] in,
T n)
public static <T> T[] removeToArray(T[] in,
T n)
public static double round(double x)
Copyright © 2018. All rights reserved.