๋กœ์ผ“๐Ÿพ
article thumbnail

 

l List ๋ฐ˜๋ณต๋ฌธ

 

ํ–ฅ์ƒ๋œ ๋ฐ˜๋ณต๋ฌธ์œผ๋กœ ์ž๋ฐ”์˜ ์ปฌ๋ ‰์…˜์ธ List๋ฅผ ๋ฐ˜๋ณต๋ฌธ ํƒœ์šฐ๋Š” ๋ฐฉ๋ฒ•์ž…๋‹ˆ๋‹ค.

 

public void put(String string, List<MemberVO> resultList) {
		for(MemberVO vo : resultList) {
			System.out.println(vo);
		}
	}
for(MemberVO vo : resultList) {
    System.out.println(vo);
}

์—ฌ๊ธฐ์„œ List์˜ ๊ธธ์ด๋Š” 2์ž…๋‹ˆ๋‹ค. 

 


l ์ถœ๋ ฅ ๊ฒฐ๊ณผ

 

์ถœ๋ ฅ ๊ฒฐ๊ณผ

 

ํ•ญ์ƒน๋œ ๋ฐ˜๋ณต๋ฌธ์€ List ๋ง๊ณ ๋„ ArrayList, HashMap, Map ๋“ฑ ์ž๋ฐ”์˜ ๋‹ค์–‘ํ•œ ์ปฌ๋ ‰์…˜์—์„œ๋„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

 

 

 

 

์ฝ์–ด์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

์งˆ๋ฌธ์€ ์–ธ์ œ๋‚˜ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค.

 

"๋‚œ ๋ฐ˜๋“œ์‹œ ๋ฐฑ์—”๋“œ ์™•์ด ๋ ๊ฑฐ์•ผ"

profile on loading

Loading...