List of utility methods to do Collection Dump
void | dumpCollection(Collection dump Collection for (T o : collection) {
System.out.println(o);
|
void | dumpCollection(Object[] c, StringBuilder sb, int indent) dump Collection if (indent > 0) { for (int in = 0; in < indent - 1; in++) { sb.append('\t'); sb.append("[\n"); for (Object o : c) { if (o instanceof Map) { ... |
void | dumpCollection(String msg, Collection c) dump Collection System.out.println("DUMPING collection: " + msg); if (c == null) { System.out.println("null"); return; for (Iterator iter = c.iterator(); iter.hasNext();) { System.out.println(iter.next().toString()); |
void | dumpCollectionCollection(Collection> c) dump Collection Collection for (Iterator<?> iter = c.iterator(); iter.hasNext();) { dumpCollection("", (List<?>) iter.next()); |
String | dumpList(Collection dump List StringBuilder buf = new StringBuilder(); if (list == null) { buf.append("null"); } else { buf.append('['); int count = 0; for (T elem : list) { if (count > 0) ... |
void | dumpList(StringBuffer sb, Collection dump List boolean first = true; for (T s : slist) { if (!first) { sb.append(","); sb.append(s); first = false; |
String | dumpToString(Collection c, String separator) dump To String String retval = ""; for (Iterator it = c.iterator(); it.hasNext();) { retval += String.valueOf(it.next()); retval += separator; return retval; |