|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.mit.util.Assert
public final class Assert
Assert is a library of assertion routines.
| Field Summary | |
|---|---|
static boolean |
m_window
|
| Constructor Summary | |
|---|---|
Assert()
|
|
| Method Summary | |
|---|---|
static void |
isTrue(boolean b)
If the argument is true do nothing. |
static void |
isTrue(boolean b,
java.lang.String msg)
If the argument is true do nothing. |
static void |
main(java.lang.String[] args)
|
static void |
note(boolean b,
java.lang.String msg)
Make a note if b is false. |
static void |
notNull(java.lang.Object o)
If the argument is not null do nothing. |
static void |
notNull(java.lang.Object o,
java.lang.String msg)
If the argument is not null do nothing. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean m_window
| Constructor Detail |
|---|
public Assert()
| Method Detail |
|---|
public static void isTrue(boolean b)
public static void isTrue(boolean b,
java.lang.String msg)
public static void notNull(java.lang.Object o,
java.lang.String msg)
public static void notNull(java.lang.Object o)
public static void note(boolean b,
java.lang.String msg)
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||