List of usage examples for org.apache.commons.collections.map ListOrderedMap putAll
public void putAll(Map map)
From source file:org.apache.ddlutils.platform.CreationParameters.java
/** * Returns the parameters for the given table. * //from w w w . j av a 2s. c om * @param table The table * @return The parameters */ public Map getParametersFor(Table table) { ListOrderedMap result = new ListOrderedMap(); Map globalParams = (Map) _parametersPerTable.get(null); Map tableParams = (Map) _parametersPerTable.get(table.getName()); if (globalParams != null) { result.putAll(globalParams); } if (tableParams != null) { result.putAll(tableParams); } return result; }