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.


Constructor Index

 o Assert()

Method Index

 o isFalse(boolean)
 o isFalse(boolean, String)
 o isTrue(boolean)
 o isTrue(boolean, String)
 o notFalse(boolean)
 o notFalse(boolean, String)
 o notNull(Object)
 o notNull(Object, String)

Constructors

 o Assert
 public Assert()

Methods

 o notFalse
 public static void notFalse(boolean b) throws IllegalArgumentException
 o isTrue
 public static void isTrue(boolean b)
 o isFalse
 public static void isFalse(boolean b)
 o notNull
 public static void notNull(Object obj) throws IllegalArgumentException
 o notFalse
 public static void notFalse(boolean b,
                             String s) throws IllegalArgumentException
 o isTrue
 public static void isTrue(boolean b,
                           String msg)
 o isFalse
 public static void isFalse(boolean b,
                            String s)
 o notNull
 public static void notNull(Object obj,
                            String s) throws IllegalArgumentException

All Packages  Class Hierarchy  This Package  Previous  Next  Index