首页>代码>spring如何注入List,Set,Map对象>/spring_injection/src/com/bjsxt/spring/Bean1.java
package com.bjsxt.spring;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class Bean1 {
	
	private String strValue;
	
	private int intValue;
	
	private List listValue;
	
	private Set setValue;
	
	private String[] arrayValue;
	
	private Map mapValue;
	
	private Date dateValue;

	public String getStrValue() {
		return strValue;
	}

	public void setStrValue(String strValue) {
		this.strValue = strValue;
	}

	public int getIntValue() {
		return intValue;
	}

	public void setIntValue(int intValue) {
		this.intValue = intValue;
	}

	public List getListValue() {
		return listValue;
	}

	public void setListValue(List listValue) {
		this.listValue = listValue;
	}

	public Set getSetValue() {
		return setValue;
	}

	public void setSetValue(Set setValue) {
		this.setValue = setValue;
	}

	public String[] getArrayValue() {
		return arrayValue;
	}

	public void setArrayValue(String[] arrayValue) {
		this.arrayValue = arrayValue;
	}

	public Map getMapValue() {
		return mapValue;
	}

	public void setMapValue(Map mapValue) {
		this.mapValue = mapValue;
	}

	public Date getDateValue() {
		return dateValue;
	}

	public void setDateValue(Date dateValue) {
		this.dateValue = dateValue;
	}
}
最近下载更多
wanbao  LV1 2023年11月27日
cz206616  LV10 2020年5月31日
是否是丸子  LV19 2018年8月14日
幸运疯子  LV13 2018年3月13日
shitoucheng  LV2 2018年2月24日
whzyjsxy  LV3 2017年9月2日
shenwg  LV10 2017年7月13日
ytoon001  LV2 2017年6月7日
jq_one  LV2 2016年9月13日
不给中就等着4打6吧  LV2 2016年6月19日
最近浏览更多
wanbao  LV1 2023年11月27日
余不二  LV2 2022年5月7日
nsz123456  LV11 2021年12月11日
sunlzh888888  LV29 2021年12月10日
最代码-宋家辉  LV61 2021年11月11日
Curryhuang  LV3 2021年6月25日
lihuazone  LV7 2021年6月10日
sizeking  LV8 2021年4月12日
mns141313 2021年3月18日
暂无贡献等级
xieweiseo  LV6 2021年1月5日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友