|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.barracuda.core.util.data.Collections
Collections utilities
Constructor Summary | |
Collections()
|
Method Summary | |
protected static void |
print(org.apache.log4j.Category logger,
java.io.OutputStream out,
java.lang.String s)
|
static void |
printStackTrace(java.util.List list)
utility method to recursively print the stack trace for a List. |
static void |
printStackTrace(java.util.List list,
org.apache.log4j.Category logger)
utility method to recursively print the stack trace for a List. |
static void |
printStackTrace(java.util.List list,
int depth,
org.apache.log4j.Category logger,
java.io.OutputStream out)
utility method to recursively print the stack trace for a List Bounds: If depth < 0, the method returns immediately |
static void |
printStackTrace(java.util.List list,
java.io.OutputStream out)
utility method to recursively print the stack trace for a List. |
static void |
printStackTrace(java.util.Map map)
utility method to recursively print the stack trace for a Map. |
static void |
printStackTrace(java.util.Map map,
org.apache.log4j.Category logger)
utility method to recursively print the stack trace for a Map. |
static void |
printStackTrace(java.util.Map map,
int depth,
org.apache.log4j.Category logger,
java.io.OutputStream out)
utility method to recursively print the stack trace for a Map Map Specification: depth < 0 will be remapped to 0 depth > 25 will be remapped to 25 Passing in a null value for the output stream will cause all the necessary output information to be generated, but nothing will actually print anywhere. |
static void |
printStackTrace(java.util.Map map,
java.io.OutputStream out)
utility method to recursively print the stack trace for a Map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Collections()
Method Detail |
public static void printStackTrace(java.util.Map map)
utility method to recursively print the stack trace for a Map.
map
- the Map we wish to dumppublic static void printStackTrace(java.util.Map map, org.apache.log4j.Category logger)
utility method to recursively print the stack trace for a Map.
map
- the Map we wish to dumplogger
- the Category we wish to dump it topublic static void printStackTrace(java.util.Map map, java.io.OutputStream out)
utility method to recursively print the stack trace for a Map.
map
- the Map we wish to dumpout
- the output stream we wish to dump it topublic static void printStackTrace(java.util.Map map, int depth, org.apache.log4j.Category logger, java.io.OutputStream out)
utility method to recursively print the stack trace for a Map
Map Specification:
Passing in a null value for the output stream will cause all the necessary output information to be generated, but nothing will actually print anywhere. This is useful for bounds testing when you want to make sure the routine is working but you don't really care about the output.
map
- the Map we wish to dumplogger
- the Category we wish to dump it to (may be null)out
- OutputStream to print to (only used if logger is null)public static void printStackTrace(java.util.List list)
utility method to recursively print the stack trace for a List.
public static void printStackTrace(java.util.List list, org.apache.log4j.Category logger)
utility method to recursively print the stack trace for a List.
logger
- the Category we wish to dump it topublic static void printStackTrace(java.util.List list, java.io.OutputStream out)
utility method to recursively print the stack trace for a List.
out
- the output stream we wish to dump it topublic static void printStackTrace(java.util.List list, int depth, org.apache.log4j.Category logger, java.io.OutputStream out)
utility method to recursively print the stack trace for a List
Bounds:
If depth < 0, the method returns immediately
logger
- the Category we wish to dump it to (may be null)out
- OutputStream to print to (only used if logger is null)protected static void print(org.apache.log4j.Category logger, java.io.OutputStream out, java.lang.String s)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |