| java.lang.Object org.jasig.portal.services.persondir.support.merger.NoncollidingAttributeAdder
NoncollidingAttributeAdder | public class NoncollidingAttributeAdder implements IAttributeMerger(Code) | | Merger which implements accumulation of Map entries such that entries once
established are individually immutable.
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) For entries in toConsider the keys of which are not keys in toModify,
adds the entry to toModify and returns toModify.
Parameters: toModify - - base Map the entries of which are considered hereto be immutable. Parameters: toConsider - - Map to merge into toModify for all noncolliding keys. |
mergeAttributes | public Map mergeAttributes(Map toModify, Map toConsider)(Code) | | For entries in toConsider the keys of which are not keys in toModify,
adds the entry to toModify and returns toModify.
Parameters: toModify - - base Map the entries of which are considered hereto be immutable. Parameters: toConsider - - Map to merge into toModify for all noncolliding keys. toModify with entries the intersection of our method arguments,with preference given to toModify's existing entries for all key collisions. |
|
|