Implementing your own LinkedList
I am implementing my own LinkedList
. I have a class that calls MyLinkedLlist
, MyLinkedList
only size()
and are implemented internally iterator()
. Also, I have one abstract class where all my other required functions are for LinkedList
in. The prototype of an abstract class is:
public abstract class MyAbstractSequentialList implements List
I wonder if I need to implement a method equals()
inside my abstract class or is it already implemented for me due to what I inherit List
?
source to share