import org.apache.commons.lang3.StringUtils; //导入方法依赖的package包/类
/**
* Install the install the instance type (if needed), the instance price type
* (if needed) and the price.
*
* @param csv
* The current CSV entry.
* @param instances
* The previously installed instance types. Key is the instance name.
* @param priceTypes
* The previously installed price types.
* @param partialCost
* The current partial cost for up-front options.
* @param node
* The related {@link Node}
* @param region
* The current region.
* @param previous
* The previous installed prices.
* @return The amount of installed prices. Only for the report.
*/
private int install(final AwsEc2Price csv, final Map instances,
final Map priceTypes, final Map partia