public class Debug
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
flagIsOn() |
static java.lang.String |
getQuitString()
Returns the quit string.
|
static boolean |
isQuitString(java.lang.String s)
Returns true iff the specified string is the quit string.
|
static boolean |
matchesQuitString(java.lang.String s)
Returns true iff the specified string is a non-empty
prefix of the quit string.
|
static void |
setDebugFlag(boolean flag) |
static void |
setQuitString(java.lang.String s)
Resets the quit string.
|
static java.lang.String |
step() |
static java.lang.String |
step(java.lang.Object info)
Prompts the user using the specified info and returns
the string entered by the user.
|
static void |
stepIfFlag(java.lang.Object info) |
public static final void setDebugFlag(boolean flag)
public static final boolean flagIsOn()
public static final void setQuitString(java.lang.String s)
public static final java.lang.String getQuitString()
public static final boolean matchesQuitString(java.lang.String s)
public static final boolean isQuitString(java.lang.String s)
public static final void stepIfFlag(java.lang.Object info)
public static final java.lang.String step(java.lang.Object info)
public static final java.lang.String step()