Class Debugger

java.lang.Object
  |
  +--Debugger

public class Debugger
extends java.lang.Object


Constructor Summary
Debugger(java.lang.String name)
          overloaded constructor, passes default boolean value to real constructor
Debugger(java.lang.String name, boolean initialState)
          constructor sets boolean value and adds instantiation to the list
 
Method Summary
static void dump()
          prints each Debugger object
static java.util.Enumeration elements()
          a static method that returns an Enumeration of the instances
 boolean on()
          a shortcut method to the super.booleanValue()
 void set(boolean newState)
          a setter method for the boolean value
 java.lang.String toString()
          print the Debugger object
static void turn(java.lang.String key, boolean true_false)
          a static method to set value of one the instances
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Debugger

public Debugger(java.lang.String name,
                boolean initialState)
constructor sets boolean value and adds instantiation to the list

Debugger

public Debugger(java.lang.String name)
overloaded constructor, passes default boolean value to real constructor
Method Detail

set

public void set(boolean newState)
a setter method for the boolean value

elements

public static java.util.Enumeration elements()
a static method that returns an Enumeration of the instances

turn

public static void turn(java.lang.String key,
                        boolean true_false)
a static method to set value of one the instances

on

public boolean on()
a shortcut method to the super.booleanValue()

toString

public java.lang.String toString()
print the Debugger object
Overrides:
toString in class java.lang.Object

dump

public static void dump()
prints each Debugger object