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