T - the list typepublic class DelimitedCollection<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
DelimitedCollection.Stringifier<T>
Returns the String representation of an Object.
|
| Constructor and Description |
|---|
DelimitedCollection(Collection<T> collection)
Creates a new DelimitedCollection.
|
public DelimitedCollection(Collection<T> collection)
collection - the collectionpublic String toString(String separator)
separator - the separator stringpublic String toString(DelimitedCollection.Stringifier<T> stringifier, String separator)
stringifier - generates the String representation of the collection elementsseparator - the separator stringCopyright © 2012. All Rights Reserved.