Implemented LinkedList.isEqualTo