Package be.yildizgames.common.mapping
Class CollectionMapper<T>
- java.lang.Object
-
- be.yildizgames.common.mapping.CollectionMapper<T>
-
- All Implemented Interfaces:
ObjectMapper<Collection<T>>
public class CollectionMapper<T> extends Object implements ObjectMapper<Collection<T>>
This class must be sub-classed- Author:
- Grégory Van den Borre
-
-
Constructor Summary
Constructors Constructor Description CollectionMapper(ObjectMapper<T> mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<T>from(String s)Stringto(Collection<T> collection)
-
-
-
Constructor Detail
-
CollectionMapper
public CollectionMapper(ObjectMapper<T> mapper)
-
-
Method Detail
-
from
public final Collection<T> from(String s)
- Specified by:
fromin interfaceObjectMapper<T>
-
to
public final String to(Collection<T> collection)
- Specified by:
toin interfaceObjectMapper<T>
-
-