universal
Class Debug

java.lang.Object
  |
  +--universal.Debug

public class Debug
extends java.lang.Object

Permit to choose if we want to print some debugging message in the screen or not.

Contains also a method that convert a vector to an array.


Field Summary
private static boolean COMM
          True if we want to print also some message for debugging but which are more related to the communication beetween the different host.
private static boolean DEBUG
          True if we want to print all the message for debugging
 
Constructor Summary
Debug()
           
 
Method Summary
static void printCommunication(java.lang.String s)
          Print the message for communication
static void println(java.lang.String s)
          Print the message for debugging
static java.lang.Object[] v2a(java.util.Vector v)
          for compatibility with java 1.1.8 toArray() method did not exist in Vector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

private static final boolean DEBUG
True if we want to print all the message for debugging

See Also:
Constant Field Values

COMM

private static final boolean COMM
True if we want to print also some message for debugging but which are more related to the communication beetween the different host.

See Also:
Constant Field Values
Constructor Detail

Debug

public Debug()
Method Detail

printCommunication

public static void printCommunication(java.lang.String s)
Print the message for communication


println

public static void println(java.lang.String s)
Print the message for debugging


v2a

public static java.lang.Object[] v2a(java.util.Vector v)
for compatibility with java 1.1.8 toArray() method did not exist in Vector