|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.barracuda.plankton.data.CollectionsUtil
Collections utilities
Constructor Summary | |
CollectionsUtil()
|
Method Summary | |
protected static void |
print(org.apache.log4j.Logger extLogger,
OutputStream out,
String s)
|
static void |
printStackTrace(List list)
utility method to recursively print the stack trace for a List. |
static void |
printStackTrace(List list,
int depth,
org.apache.log4j.Logger extLogger,
OutputStream out)
utility method to recursively print the stack trace for a List Bounds: If depth < 0, the method returns immediately |
static void |
printStackTrace(List list,
org.apache.log4j.Logger extLogger)
utility method to recursively print the stack trace for a List. |
static void |
printStackTrace(List list,
OutputStream out)
utility method to recursively print the stack trace for a List. |
static void |
printStackTrace(Map map)
utility method to recursively print the stack trace for a Map. |
static void |
printStackTrace(Map map,
int depth,
org.apache.log4j.Logger extLogger,
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(Map map,
org.apache.log4j.Logger extLogger)
utility method to recursively print the stack trace for a Map. |
static void |
printStackTrace(Map map,
OutputStream out)
utility method to recursively print the stack trace for a Map. |
static void |
printStackTrace(Object[] objarray)
utility method to recursively print the stack trace for a Object[]. |
static void |
printStackTrace(Object[] objarray,
int depth,
org.apache.log4j.Logger extLogger,
OutputStream out)
utility method to recursively print the stack trace for an Object[] Bounds: If depth < 0, the method returns immediately |
static void |
printStackTrace(Object[] objarray,
org.apache.log4j.Logger extLogger)
utility method to recursively print the stack trace for a Object[]. |
static void |
printStackTrace(Object[] objarray,
OutputStream out)
utility method to recursively print the stack trace for a Object[]. |
protected static void |
printStackTrace(StateMap map,
int depth,
org.apache.log4j.Logger extLogger,
OutputStream out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CollectionsUtil()
Method Detail |
public static void printStackTrace(Map map)
utility method to recursively print the stack trace for a Map.
map
- the Map we wish to dumppublic static void printStackTrace(Map map, org.apache.log4j.Logger extLogger)
utility method to recursively print the stack trace for a Map.
map
- the Map we wish to dumpextLogger
- the Logger we wish to dump it topublic static void printStackTrace(Map map, 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(Map map, int depth, org.apache.log4j.Logger extLogger, 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 dumpdepth
- inset depth at which to start printingextLogger
- the Logger we wish to dump it to (may be null)out
- OutputStream to print to (only used if extLogger is null)protected static void printStackTrace(StateMap map, int depth, org.apache.log4j.Logger extLogger, OutputStream out)
public static void printStackTrace(List list)
utility method to recursively print the stack trace for a List.
list
- the List we wish to dumppublic static void printStackTrace(List list, org.apache.log4j.Logger extLogger)
utility method to recursively print the stack trace for a List.
list
- the List we wish to dumpextLogger
- the Logger we wish to dump it topublic static void printStackTrace(List list, OutputStream out)
utility method to recursively print the stack trace for a List.
list
- the Map we wish to dumpout
- the output stream we wish to dump it topublic static void printStackTrace(List list, int depth, org.apache.log4j.Logger extLogger, OutputStream out)
utility method to recursively print the stack trace for a List
Bounds:
If depth < 0, the method returns immediately
list
- the List we wish to dumpdepth
- inset depth at which to start printingextLogger
- the Logger we wish to dump it to (may be null)out
- OutputStream to print to (only used if extLogger is null)public static void printStackTrace(Object[] objarray)
utility method to recursively print the stack trace for a Object[].
objarray
- the Object[] we wish to dumppublic static void printStackTrace(Object[] objarray, org.apache.log4j.Logger extLogger)
utility method to recursively print the stack trace for a Object[].
objarray
- the Object[] we wish to dumpextLogger
- the Logger we wish to dump it topublic static void printStackTrace(Object[] objarray, OutputStream out)
utility method to recursively print the stack trace for a Object[].
objarray
- the Object[] we wish to dumpout
- the output stream we wish to dump it topublic static void printStackTrace(Object[] objarray, int depth, org.apache.log4j.Logger extLogger, OutputStream out)
utility method to recursively print the stack trace for an Object[]
Bounds:
If depth < 0, the method returns immediately
objarray
- the Object[] we wish to dumpdepth
- inset depth at which to start printingextLogger
- the Logger we wish to dump it to (may be null)out
- the OutputStream to print to (only used if extLogger is null)protected static void print(org.apache.log4j.Logger extLogger, OutputStream out, String s)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |