| java.lang.Object org.jasig.portal.services.persondir.support.merger.ReplacingAttributeAdder
ReplacingAttributeAdder | public class ReplacingAttributeAdder implements IAttributeMerger(Code) | | Attribute merge strategy whereby considered attributes over-write
previously set values for attributes with colliding names.
author: andrew.petro@yale.edu version: $Revision: 35128 $ $Date: 2004-12-13 16:27:49 -0700 (Mon, 13 Dec 2004) $ |
Method Summary | |
public Map | mergeAttributes(Map toModify, Map toConsider) Simply puts all the values in toConsider into toModify and returns toModify. |
mergeAttributes | public Map mergeAttributes(Map toModify, Map toConsider)(Code) | | Simply puts all the values in toConsider into toModify and returns toModify.
This means that for keys in both toConsider and toModify, the
value in toConsider will be controlling.
Parameters: toModify - - the Map we are to modify Parameters: toConsider - - the Map we are to consider in modifying toModify the result of toModify.putAll(toConsider) |
|
|