void function ( final int arg0 , final int arg1 , final int arg2 , final String arg3 ) { if ( arg0 < 0 || arg1 < 0 ) { throw new IndexOutOfBoundsException ( arg3 ) ; } if ( arg0 + arg1 > arg2 ) { throw new IndexOutOfBoundsException ( arg3 ) ; } }
throws an indexoutofboundsexception if slicefrom or slicelength is negative or the sum of both is greater than arraylength . note that this means that a slice of length zero starting at array length is a valid slice . concode_field_sep PlaceHolder placeHolder concode_field_sep void that concode_elem_sep void that concode_elem_sep T notNull concode_elem_sep T notNull concode_elem_sep int notNegative concode_elem_sep int notNegative concode_elem_sep int validArrayIndex concode_elem_sep int validArrayIndex