The method addAll is shown as:
public static <T> boolean addAll(Collection<? super T> c,
T... a)
in the API.
So it is a public and static method.
Returns a <T> which is some sort of Container...
What does boolean stand for after the <T> ?
Printable View
The method addAll is shown as:
public static <T> boolean addAll(Collection<? super T> c,
T... a)
in the API.
So it is a public and static method.
Returns a <T> which is some sort of Container...
What does boolean stand for after the <T> ?
That <T> is not a return value. Recommended reading: Generic Methods (The Java™ Tutorials > Bonus > Generics)
Thats wrong! Read the API Doc (and generic tutorials!)
-->
Collections (Java Platform SE 6)
Quote:
true if the collection changed as a result of the call