不是抽象方法呀boolean addAll(Collection c)
Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation).
Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation).
visit http://java.sun.com/j2se/1.4.1/docs/api/java/util/List.html
or see java.util.List
我想接口中的任何方法都可以达到楼上所说的功能。郁闷。。
It was designed for those Classes extending AbstractList to implement.Interface A.
Class B implements A.
Class C extends B.abstract methods in A are idealy implemented in C, not in B. However, if B implements those methods, I think it's allowable as well anyway.