Modifier and Type | Field and Description |
---|---|
private java.util.Collection<?> |
_collection |
private java.lang.String |
_name |
Constructor and Description |
---|
DumpableCollection(java.lang.String name,
java.util.Collection<?> collection) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dump() |
void |
dump(java.lang.Appendable out,
java.lang.String indent)
Dump this object (and children) into an Appendable using the provided indent after any new lines.
|
static DumpableCollection |
from(java.lang.String name,
java.lang.Object... items) |
static DumpableCollection |
fromArray(java.lang.String name,
java.lang.Object[] array) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dump, dumpObject, dumpObjects, dumpSelf
private final java.lang.String _name
private final java.util.Collection<?> _collection
public DumpableCollection(java.lang.String name, java.util.Collection<?> collection)
public static DumpableCollection fromArray(java.lang.String name, java.lang.Object[] array)
public static DumpableCollection from(java.lang.String name, java.lang.Object... items)
public void dump(java.lang.Appendable out, java.lang.String indent) throws java.io.IOException
Dumpable