com.townleyenterprises.trace
Class TraceHelper

java.lang.Object
  extended bycom.townleyenterprises.trace.TraceHelper

public final class TraceHelper
extends java.lang.Object

This class allows generating standard trace representations of various JDK data structures.

Since:
2.3

Constructor Summary
TraceHelper()
           
 
Method Summary
static java.lang.Object trace(java.util.List l)
          Generates a representation of the list using the trace string rather than toString for all list objects.
static java.lang.Object trace(java.util.List l, java.lang.String sep)
          Overloaded method takes the object separator string
static java.lang.Object trace(java.util.Map m)
           
static java.lang.Object trace(java.util.Map m, java.lang.String sep)
          This overloaded method takes the object separator string.
static java.lang.Object trace(java.util.Set s)
          Generates a representation of the set using the trace string rather than toString for all list objects.
static java.lang.Object trace(java.util.Set s, java.lang.String sep)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceHelper

public TraceHelper()
Method Detail

trace

public static java.lang.Object trace(java.util.Map m)

trace

public static java.lang.Object trace(java.util.Map m,
                                     java.lang.String sep)
This overloaded method takes the object separator string.

Since:
3.0

trace

public static java.lang.Object trace(java.util.List l)
Generates a representation of the list using the trace string rather than toString for all list objects.

Since:
3.0

trace

public static java.lang.Object trace(java.util.List l,
                                     java.lang.String sep)
Overloaded method takes the object separator string


trace

public static java.lang.Object trace(java.util.Set s)
Generates a representation of the set using the trace string rather than toString for all list objects.

Since:
3.0

trace

public static java.lang.Object trace(java.util.Set s,
                                     java.lang.String sep)


Copyright © 2002-2004, Andrew S. Townley and Townley Enterprises. All Rights Reserved.
This project is hosted on http://te-code.sourceforge.net.