|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.avis.util.Util
public final class Util
General Avis utility functions.
| Method Summary | |
|---|---|
static void |
checkNotNull(Object value,
String name)
Check a value is non-null or throw an IllegalArgumentException. |
static boolean |
valuesEqual(Object value1,
Object value2)
Test if two objects are equal, handling null values and type differences. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean valuesEqual(Object value1,
Object value2)
public static void checkNotNull(Object value,
String name)
throws IllegalArgumentException
value - The value to test.name - The name of the value to be used in the exception.
IllegalArgumentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||