public ArrayList(int capacity) {if (capacity < 0) {throw new IllegalArgumentException();}array = (capacity == 0 ? EmptyArray.OBJECT : new Object[capacity]);}
public ArrayList(int capacity){if (capacity < 0){throw new System.ArgumentException();}array = (capacity == 0 ? libcore.util.EmptyArray.OBJECT : new object[capacity]);}