配列オブジェクトからArrayListへ変換をしたいときに、いちいちfor文とかを使わない方法
public class AAAA {
public static void main(String[] args) throws UnsupportedEncodingException {
String [] str = { "ichika","kaito","kanna","tetsurou","mio","remmon"};
ArrayList al = new ArrayList(Arrays.asList(str));
Iterator it = al.iterator();
while (it.hasNext()) {
System.out.println((String)it.next());
}
}