/** Adds the ExportMap's exportKey and exportData as a key,value pair to this Map */ public void set(ExportMap map) { if (map == null) { throw new IllegalArgumentException("invalid (null) map"); } exportData.set(map.getExportKey(), map.getExportData()); }
/** * Adds the given key,value pair to this Map * * @param key * @param value */ public void set(String key, String value) { if (key == null) { throw new IllegalArgumentException("invalid (null) key"); } if (value == null) { throw new IllegalArgumentException("invalid (null) value - key=" + key); } exportData.set(key, value); }