get a trimmed version of the array , i.e. without ending unset positions . concode_field_sep int currentPosition concode_elem_sep int growingSize concode_elem_sep int initalSize concode_elem_sep double[] internalArray concode_field_sep void add concode_elem_sep int size concode_elem_sep void setValue concode_elem_sep double get concode_elem_sep void clearAsInitial concode_elem_sep void clearForSameSizeReuse concode_elem_sep double[] getInternalArray
double [ ] function ( ) { if ( internalArray . length == size ( ) ) { return internalArray ; } double [ ] loc0 = new double [ size ( ) ] ; System . arraycopy ( internalArray , 0 , loc0 , 0 , loc0 . length ) ; return loc0 ; }