S
- the source type of the conversionT
- the target type of the conversionpublic abstract class CollectionConverter<S,T> extends Object implements Converter<S,T>
Constructor and Description |
---|
CollectionConverter() |
Modifier and Type | Method and Description |
---|---|
Collection<T> |
convert(Collection<S> sources)
Method to convert a collection of sources to a collection of targets.
|
List<T> |
convert(List<S> sources)
Method to convert a list of sources to a collection of targets.
|
Set<T> |
convert(Set<S> sources)
Method to convert a set of sources to a set of targets.
|
public Collection<T> convert(Collection<S> sources)
sources
- The sources.convert(List)
public List<T> convert(List<S> sources)
sources
- The sources.Copyright © 2019 Communote team. All rights reserved.