Uses of Interface
org.broadleafcommerce.common.util.TypedClosure

Packages that use TypedClosure
Package
Description
 
  • Uses of TypedClosure in org.broadleafcommerce.common.util

    Methods in org.broadleafcommerce.common.util with parameters of type TypedClosure
    Modifier and Type
    Method
    Description
    static <K, CV extends Iterable<V>, V>
    Map<K,List<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>
    Map<K,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.
    static <K, V> Map<K,V>
    BLCMapUtils.keyedMap(V[] values, TypedClosure<K,V> closure)
    Given an array of values and a TypedClosure that maps an appropriate key for a given value, returns a HashMap of the key to the value.