본문 바로가기
jsp spring maven

how to convert hash set to an arraylist

by [김경민]™ ┌(  ̄∇ ̄)┘™ 2013. 8. 6.
728x90


[출처] http://www.dreamincode.net/forums/topic/261255-another-stumper-how-to-convert-hash-set-to-an-arraylist/


ArrayList<String> list = new ArrayList<String>(mySet);



728x90

'jsp spring maven' 카테고리의 다른 글

ArrayList 중복 카운트  (0) 2013.08.07
RequestMapping 동적 url  (0) 2013.07.31

댓글