Cast HashMap to ArrayList (Array Object)
HashMap<String,String> > Caste
01. Array
String[] videoIds = (String[])bbsDoc.getYoutube_lst().values().toArray(new String[0]);
02. ArrayList Object
ArrayList<String> videoLst = new ArrayList<String>(hashMap.values());
댓글 없음:
댓글 쓰기