| Package | Description |
|---|---|
| org.broadleafcommerce.common.util |
| Modifier and Type | Method and Description |
|---|---|
static <K,CV extends Iterable<V>,V> |
BLCMapUtils.keyedListMap(CV values,
TypedClosure<K,V> closure)
Given a collection of values and a TypedClosure that maps an appropriate key for a given value,
returns a HashMap of the key to a list of values that map to that key.
|
static <K,CV extends Iterable<V>,V> |
BLCMapUtils.keyedMap(CV values,
TypedClosure<K,V> closure)
Given a collection of values and a TypedClosure that maps an appropriate key for a given value,
returns a HashMap of the key to the value.
|
Copyright © 2014. All Rights Reserved.