Class Debug

  extended by dk.brics.string.Debug

public class Debug
extends Object

Debug mode enabled/disabled. Enable debug info with -Ddk.brics.string.debug=<LEVEL>.

Method Summary
static void init()
static boolean isTest()
          Returns true if in test mode.
static void setTest(boolean test_mode)
          Sets test mode.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static void init()


public static boolean isTest()
Returns true if in test mode. This is often used to ensure that unordered collections are traversed in a particular order.


public static void setTest(boolean test_mode)
Sets test mode.

Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.