public void resize(int newsize) throws StackOverflowException {
		int oldsize = this.size;
		if (oldsize > newsize) {
			for (int i = newsize; i < oldsize; ++i) {
				this.data[i] = null;
			}
		}
		if (oldsize < newsize) {
			if (SIZE < newsize) {
				throw new StackOverflowException();
			}
			for (int i = oldsize; i < newsize; ++i) {
				this.data[i] = new Integer(0);
			}
		}
		this.size = newsize;
	}