public ArrayStack (E[] e) { E[] stack = new E[e.length]; for (int i=0; i < e.length; i++) stack[i] = e[i]; }