Package | Description |
---|---|
net.sf.kdgcommons.collections |
Utilities for working with arrays and the JDK collections framework.
|
Modifier and Type | Method and Description |
---|---|
static <V,R> List<R> |
CollectionUtil.map(Collection<V> coll,
CollectionUtil.IndexValueMapFunctor<V,R> functor)
Applies the specified functor to every element of the given collection, in
its natural iteration order, and returns a list of the results.
|
static <V,R> List<R> |
CollectionUtil.map(ExecutorService threadpool,
Collection<V> values,
CollectionUtil.IndexValueMapFunctor<V,R> functor)
Performs a parallel map operation.
|