public class ValueDerivingMapFactory<O,K,V> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ValueDerivingMapFactory.ValueDeriver<O,V>
An interface for objects that derive the value for a specific entry in the map.
|
Constructor and Description |
---|
ValueDerivingMapFactory(Map<K,ValueDerivingMapFactory.ValueDeriver<O,V>> valueDerivers)
Instantiates a new value deriving map factory.
|
Modifier and Type | Method and Description |
---|---|
Map<K,V> |
getMap(O source)
Gets a map that derives its values from the given source.
|
public ValueDerivingMapFactory(Map<K,ValueDerivingMapFactory.ValueDeriver<O,V>> valueDerivers)
valueDerivers
- a map of value derivers that derive the value of each entry from a given sourceCopyright © 2005–2017 Alfresco Software. All rights reserved.