Just looking at the List source code I have found the few method has been repeated like "isEmpty" , "size"
Why repeating same method in the List where they already exist in the Collection. ?
I think we should just add method which List has i.e related to list behaviour.
Edited by: LondonSoftwareArchitect on Mar 15, 2010 5:57 AM
Collection is an interface, all of its members are abstract. If one implements an interface, you have to supply the implementation of each of those abstract methods. (You can have abstract classes too, where there are both concrete/implemented and abstract methods).
I suggest reading up on inheritance in Java.