|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.util.collections.Collections
public final class Collections
Collection utilities.
| Method Summary | ||
|---|---|---|
static
|
filter(ObjectFilter filter,
Collection<T> source,
C target)
Filter a collection. |
|
static
|
map(ObjectMapping<T> mapping,
Collection<F> source,
C target)
Map a collection. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T,C extends Collection<T>> C filter(ObjectFilter filter,
Collection<T> source,
C target)
T - type of source collection membersC - type of target collectionfilter - filtersource - source collectiontarget - target collection
public static <F,T,C extends Collection<T>> C map(ObjectMapping<T> mapping,
Collection<F> source,
C target)
F - type of source collection membersT - type of mapping resultC - type of target collectionmapping - mappingsource - source collectiontarget - target collection
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||