code: public void add(double element) {
  	// overridden for performance only.  
  	if (size == elements.length) ensureCapacity(size + 1); 
  	elements[size++] = element;
  }
docs: Appends the specified element to the end of this list.
  
  @param element element to be appended to this list.