All Packages Class Hierarchy This Package Previous Next Index
Class gjt.Assert
java.lang.Object
|
+----gjt.Assert
- public class Assert
- extends Object
A simple assertion mechanism for asserting validity of
arguments.
-
Assert()
-
-
isFalse(boolean)
-
-
isFalse(boolean, String)
-
-
isTrue(boolean)
-
-
isTrue(boolean, String)
-
-
notFalse(boolean)
-
-
notFalse(boolean, String)
-
-
notNull(Object)
-
-
notNull(Object, String)
-
Assert
public Assert()
notFalse
public static void notFalse(boolean b) throws IllegalArgumentException
isTrue
public static void isTrue(boolean b)
isFalse
public static void isFalse(boolean b)
notNull
public static void notNull(Object obj) throws IllegalArgumentException
notFalse
public static void notFalse(boolean b,
String s) throws IllegalArgumentException
isTrue
public static void isTrue(boolean b,
String msg)
isFalse
public static void isFalse(boolean b,
String s)
notNull
public static void notNull(Object obj,
String s) throws IllegalArgumentException
All Packages Class Hierarchy This Package Previous Next Index