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