code: private int position(Integer e) {
  		if (e == null) throw new NullPointerException("null value");
  		int i = e + offset;
  		if (i < 0) throw new IllegalArgumentException("value less than lower bound");
  		if (i >= length) throw new IllegalArgumentException("value greater than upper bound");
  		return i;
  	}
docs: private methods