org.broadleafcommerce.common.util
Class BLCCollectionUtils
java.lang.Object
org.broadleafcommerce.common.util.BLCCollectionUtils
public class BLCCollectionUtils
- extends Object
Convenience methods for interacting with collections.
- Author:
- Andre Azzolini (apazzolini)
|
Method Summary |
static
|
collect(Collection inputCollection,
TypedTransformer<T> transformer)
Delegates to CollectionUtils.collect(Collection, Transformer), but performs the necessary type coercion
to allow the returned collection to be correctly casted based on the TypedTransformer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLCCollectionUtils
public BLCCollectionUtils()
collect
public static <T> Collection<T> collect(Collection inputCollection,
TypedTransformer<T> transformer)
- Delegates to
CollectionUtils.collect(Collection, Transformer), but performs the necessary type coercion
to allow the returned collection to be correctly casted based on the TypedTransformer.
- Parameters:
inputCollection - transformer -
- Returns:
- the typed, collected Collection
Copyright © 2013. All Rights Reserved.