import org.apache.commons.collections.primitives.IntList; import org.apache.commons.collections.primitives.ArrayIntList; public class CommonsPrimitivesExample { public static void main(String[] args) { IntList intList = new ArrayIntList(); intList.add(10); intList.add(20); intList.add(30); for (int i = 0; i < intList.size(); i++) { System.out.println(intList.get(i)); } } }


上一篇:
下一篇:
切换中文