public static interface CollectionUtil.IndexValueMapFunctor<V,R>
CollectionUtil.map(java.util.Collection<V>, net.sf.kdgcommons.collections.CollectionUtil.IndexValueMapFunctor<V, R>)
. The invoke(int, V)
function is
called for every element in the collection, and is passed the element
value and its position (0-based) in the iteration order.
The implementation is permitted to throw anything, checked or not.
Modifier and Type | Method and Description |
---|---|
R |
invoke(int index,
V value) |