public class LangUtil extends Object
Constructor and Description |
---|
LangUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> T[] |
arrayConcat(T[] a,
T[] b) |
static AssertionError |
badType(Object a) |
static RuntimeException |
mkAssert(String messagePrefix,
Throwable cause) |
static <T> boolean |
nullableEquals(T a,
T b) |
static int |
nullableHashCode(Object o) |
static Date |
truncateMillis(Date date) |
static List<Date> |
truncateMillis(List<Date> dates) |
public static RuntimeException mkAssert(String messagePrefix, Throwable cause)
public static AssertionError badType(Object a)
public static <T> T[] arrayConcat(T[] a, T[] b)
public static <T> boolean nullableEquals(T a, T b)
public static int nullableHashCode(Object o)