public E get(int idx) {
		int j = 0;
		for (int i = 0; i < this.size; ++i) {
			if (elements[i] != null && j == idx) {
				break;
			} else {
				j++;
			}
		}
		
		if (j < this.size && this.elements[j] != null) {
			@SuppressWarnings("unchecked")
			E result = (E) this.elements[j];
			return result;
		}
		
		throw new IndexOutOfBoundsException();
	}