public final class TObjects extends TObject
Constructor and Description |
---|
TObjects() |
Modifier and Type | Method and Description |
---|---|
static <T> int |
compare(T a,
T b,
TComparator<? super T> c) |
static boolean |
deepEquals(Object a,
Object b) |
static boolean |
equals(Object a,
Object b) |
static int |
hash(Object... values) |
static int |
hashCode(Object o) |
static boolean |
nonNull(Object obj) |
static <T> T |
requireNonNull(T obj) |
static <T> T |
requireNonNull(T obj,
String message) |
static String |
toString(Object o) |
static String |
toString(Object o,
String nullDefault) |
public static int hashCode(Object o)
public static <T> int compare(T a, T b, TComparator<? super T> c)
public static <T> T requireNonNull(T obj)
public static <T> T requireNonNull(T obj, String message)
public static boolean nonNull(Object obj)
public static int hash(Object... values)
Copyright © 2019. All rights reserved.