|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.util.ValueDerivingMapFactory
public class ValueDerivingMapFactory
A factory for maps that dynamically derive their looked up values from a given source object.
Nested Class Summary | |
---|---|
static interface |
ValueDerivingMapFactory.ValueDeriver
An interface for objects that derive the value for a specific entry in the map. |
Constructor Summary | |
---|---|
ValueDerivingMapFactory(java.util.Map valueDerivers)
Instantiates a new value deriving map factory. |
Method Summary | |
---|---|
java.util.Map |
getMap(java.lang.Object source)
Gets a map that derives its values from the given source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueDerivingMapFactory(java.util.Map valueDerivers)
valueDerivers
- a map of value derivers that derive the value of each entry from a given sourceMethod Detail |
---|
public java.util.Map getMap(java.lang.Object source)
source
- the source
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |