| java.lang.Object org.sakaiproject.util.MapUtil
MapUtil | public class MapUtil (Code) | |
MapUtil collects together some string utility classes.
|
Method Summary | |
public static boolean | copy(Map destMap, Map sourceMap) | public static boolean | copy(Map destMap, String destKey, Map sourceMap, String sourceKey) Assigns a value from one map to another
destMap[destKey] = sourceMap[sourceKey];
Parameters: destMap - The Map to add the key/value pair to. Parameters: destKey - The key to use in the destination map. Parameters: sourceMap - The Map to add the key/value pairs from Parameters: sourceKey - The key to use from the source map. | public static boolean | copyHtml(Map destMap, String destKey, Map sourceMap, String sourceKey) Assigns a value from one map to another - applying an HMTL filter to the value
destMap[destKey] = sourceMap[sourceKey];
Parameters: destMap - The Map to add the key/value pair to. Parameters: destKey - The key to use in the destination map. Parameters: sourceMap - The Map to add the key/value pairs from Parameters: sourceKey - The key to use from the source map. |
copy | public static boolean copy(Map destMap, Map sourceMap)(Code) | | Copies elements from a map to another map (similar to putall)
Parameters: destMap - The Map to add the key/value pairs to. Parameters: sourceMap - The Map to add the key/value pairs from true if there were keys copied |
copy | public static boolean copy(Map destMap, String destKey, Map sourceMap, String sourceKey)(Code) | | Assigns a value from one map to another
destMap[destKey] = sourceMap[sourceKey];
Parameters: destMap - The Map to add the key/value pair to. Parameters: destKey - The key to use in the destination map. Parameters: sourceMap - The Map to add the key/value pairs from Parameters: sourceKey - The key to use from the source map. true if there were keys copied |
copyHtml | public static boolean copyHtml(Map destMap, String destKey, Map sourceMap, String sourceKey)(Code) | | Assigns a value from one map to another - applying an HMTL filter to the value
destMap[destKey] = sourceMap[sourceKey];
Parameters: destMap - The Map to add the key/value pair to. Parameters: destKey - The key to use in the destination map. Parameters: sourceMap - The Map to add the key/value pairs from Parameters: sourceKey - The key to use from the source map. true if there were keys copied |
|
|