![]() IllegalArgumentException - if both array and element are nullĬopies the given array and adds the given element at the end of the new array. Type Parameters: T - the component type of the array Parameters: array - the array to add the element to, may be null index - the position of the new object element - the object to add Returns: A new array containing the existing elements and the new element Throws: IndexOutOfBoundsException - if the index is out of range (index array.length).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |