size = newSize;
}
- public void copyInto(Object[] out) {
+ public Object[] copyInto(Object[] out) {
for(int i=0; i<size; i++)
out[i] = store[i];
+ return out;
}
public void fromArray(Object[] in) {
size = newSize;
}
- public void copyInto(int[] out) {
+ public int[] copyInto(int[] out) {
for(int i=0; i<size; i++)
out[i] = store[i];
+ return out;
}
public void fromArray(int[] in) {