org.omnaest.utils.structure.collection
Interface CollectionUtils.CollectionConverter<FROM,TO>

Type Parameters:
FROM -
TO -
All Known Implementing Classes:
CollectionUtils.CollectionTransformerToString
Enclosing class:
CollectionUtils

public static interface CollectionUtils.CollectionConverter<FROM,TO>

Transformer interface for transforming whole Collections into a single object

Author:
Omnaest

Method Summary
 void process(FROM element)
          Processes the given Collection element.
 TO result()
          Returns the result of the transformation process
 

Method Detail

process

void process(FROM element)
Processes the given Collection element. This method will be called for each element of the original Collection

Parameters:
element -

result

TO result()
Returns the result of the transformation process

Returns:


Copyright © 2013. All Rights Reserved.