All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.zw201913.model.UploadResults Maven / Gradle / Ivy

The newest version!
package com.github.zw201913.model;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


public class UploadResults {

	private Map> resultMap = new HashMap<>();

	/**
	 * 分组数量
	 * 
	 * @return
	 */
	public int getGroupSize() {
		return resultMap.size();
	}
	
	/**
	 * 获取分组
	 * @param groupName
	 * @return
	 */
	public List getGroup(String groupName) {
		return resultMap.get(groupName);
	}

	/**
	 * 
	 * @param key
	 * @param value
	 * @return
	 */
	public List put(String key, List value) {
		return resultMap.put(key, value);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy