LinkedList, programming assignment help

User Generated

Uvqqra05

Programming

Description

I need this in 30-60 minutes

Unformatted Attachment Preview

CS111-02 In-Lab assignment # 6 Date: 7/12/2017 (100 points) Problem 1: (90 points) Implement a generic class, clsLinkedList, that represents the ADT Singly Linked List. The Singly Linked List should have a dummy head node. The Class should also implement the interface List from the Java API. However, since the List interface contains a lot of methods, you need to implement only the following methods: A. B. C. D. E. F. G. H. ● add(E o) : which adds a new node without specifying location ● add(int intLocation, E element) : which adds a new node on a given location ● clear() : which truncates list ● contains(Object o) : finds a certain element (node) in the list ● get(int intLocation) : retrieves certain element in the list ● isEmpty() ● remove(int index) ● size() PS. For all other methods throw UsupportedOperationException. Documentation (10 points) Bonus (10 points): Use meaningful and descriptive variable names. Submit clsLinkedList.java Summer 2017 CS111-02 Lab #6 Page 1 of 1
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer


Anonymous
Really great stuff, couldn't ask for more.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags