public final class Assert
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(java.lang.Object obj1,
java.lang.Object obj2) |
static int |
hashCode(boolean bool) |
static int |
hashCode(java.lang.Object obj) |
static <T> T |
notNull(T object,
java.lang.String description)
Throws a NullPointerException if the specified object is null.
|
public static <T> T notNull(T object,
java.lang.String description)
T - type of the object to checkobject - the object to verifydescription - error messagepublic static boolean equals(java.lang.Object obj1,
java.lang.Object obj2)
public static int hashCode(java.lang.Object obj)
public static int hashCode(boolean bool)