The list of methods to do Collection Dump are organized into topic(s).
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());
String
dumpList(Collection list) 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)
...