|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.structure.collection.CollectionUtils.CollectionTransformerToString<FROM>
FROM - public abstract static class CollectionUtils.CollectionTransformerToString<FROM>
CollectionUtils.CollectionConverter which produces a String from a Collection
| Constructor Summary | |
|---|---|
CollectionUtils.CollectionTransformerToString()
|
|
| Method Summary | |
|---|---|
void |
process(FROM element)
Processes the given Collection element. |
abstract void |
process(FROM element,
StringBuilder resultStringBuilder)
The process(Object, StringBuilder) method will be invoked for every element of the processed Collection. |
String |
result()
Returns the result of the transformation process |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionUtils.CollectionTransformerToString()
| Method Detail |
|---|
public void process(FROM element)
CollectionUtils.CollectionConverterCollection element. This method will be called for each element of the original
Collection
process in interface CollectionUtils.CollectionConverter<FROM,String>
public abstract void process(FROM element,
StringBuilder resultStringBuilder)
process(Object, StringBuilder) method will be invoked for every element of the processed Collection.
The given StringBuilder instance will build the resulting String and should be used to store the iteration
result.
element - resultStringBuilder - public String result()
CollectionUtils.CollectionConverter
result in interface CollectionUtils.CollectionConverter<FROM,String>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||