Java - ArrayList

Java

// ArrayList

import java.util.List;
import java.util.ArrayList;

List myList = new ArrayList();
String x = "...";
myList.add(x);

for (int i=0; i<myList .size(); i++) {
    Map m = (Map) myList .get(i);
}

List<WebMessage> list = new ArrayList<WebMessage>();
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License