Assertion: collection's element | /r/HasProperty | null illegalargumentexception
Facets:
Source sentences:
text: When elements are specified individually, this method provides a convenient way to add a few elements to an existing collection: Collections.addAll(flavors, "Peaches 'n Plutonium", "Rocky Racoon"); Parameters: c - the collection into which elements are to be inserted a - the elements to insert into c Returns: true if the collection changed as a result of the call Throws: UnsupportedOperationException - if c does not support the add method NullPointerException - if elements contains one or more null values and c does not support null elements, or if c or elements are null IllegalArgumentException - if some aspect of a value in elements prevents it from being added to c