public double get ( int index ) { // overridden for performance only. if ( index >= size || index < 0 ) throw new IndexOutOfBoundsException ( "Index: " + index + ", Size: " + size ) ; return elements [ index ] ; }
Returns the element at the specified position in the receiver .