S - the source typeT - the target typepublic interface ModelConverter<S,T>
| Modifier and Type | Method and Description |
|---|---|
List<T> |
convert(Iterable<? extends S> objects)
Converts all given source objects into target objects.
|
T |
convert(S source)
Converts the given source object into a new instance of target object.
|
void |
convert(S source,
T target)
Converts the given source object into the target object.
|
T convert(S source)
source - the source objectvoid convert(S source, T target)
source - the source objecttarget - the target object