public class MapToCollectionTransformer extends Object implements FunctionTransformer
Map
's Entry values to a Collection
Map.entrySet()
iterates.ArrayList
Constructor and Description |
---|
MapToCollectionTransformer() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.collections.Transformer |
getTransformer()
(Optional) if provided, applies the
Transformer to the value of the map before adding it to the Collection |
Class |
getType()
Collection type
|
void |
setTransformer(org.apache.commons.collections.Transformer transformer)
(Optional) if provided, applies the
Transformer to the value of the map before adding it to the Collection |
void |
setType(Class type)
Collection type
|
Object |
transform(Object map) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public Object transform(Object map)
transform
in interface org.apache.commons.collections.Transformer
public org.apache.commons.collections.Transformer getTransformer()
Transformer
to the value of the map before adding it to the Collectionpublic void setTransformer(org.apache.commons.collections.Transformer transformer)
Transformer
to the value of the map before adding it to the CollectionCopyright © 2018. All rights reserved.