Create a link list iterator, JAVA Programming

In this assignment, you will gain experience implementing the java.util.List interface. This includes writing an inner class called Node and another inner class called CS228LinkedListIterator which implements Java's ListIterator interface. You MAY NOT implement the List interface by extending \AbstractCollection", "AbstractList", or any other class. It must be written from scratch. You do not need to write a main method, and it is not a requirement to write a client class. You simply need to write the entire implementation for Java's List and ListIterator interfaces. This includes implementing all required and optional methods (except for the subList and the toArray(Object[] a) methods).

Each method found in the documentation listed under \Method Summary" must be implemented. This may seem a little daunting at rst since there are many methods, but keep in mind that while some of the methods are tricky, many of them are relatively simple to implement. Also, we have given you many examples of partial implementations of List and ListIterator classes. We highly recommend going to the \Helpful Handouts" section of the discussion board to view these.

They will help you get started on this assignment. Finally, it is not a requirement to write a JUnit test class. However, we recommend writing several test cases to ensure the correctness of your CS228LinkedList data structure.

 

Posted Date: 3/2/2013 2:01:35 AM | Location : United States







Related Discussions:- Create a link list iterator, Assignment Help, Ask Question on Create a link list iterator, Get Answer, Expert's Help, Create a link list iterator Discussions

Write discussion on Create a link list iterator
Your posts are moderated
Related Questions
ActionForm is javabean which shows the form inputs containing the request parameters from the View referencing the Action bean.

I have JavaScript work Project Description: I need an annonation type tool added It should be incredible simple for a good js coder. But there will be a custom design and

For what purposes FTP is used in networks? FTP is known as file transfer protocol it is basically used to download or upload files / data to a remote computer.

Application using Swing API

What is Setter Methods explain with an example? Setter methods, also called as mutator methods, merely set the value of a field to a value specified through the argument to the

What is the difference among microprocessors and microcontrollers? Give one example of both? The microprocessor is electronic equipment that can perform various functions and a

Explain what is Object in JAVA language? They are foundation of object oriented language. They are data structure holds data fields and properties and methods

Calculate the kilometer within an hour? class Car { String licensePlate = ""; // e.g. "New York 543 A23" double speed = 0.0; // in kilometers per hour doubl

Use a FOR loop and give me the largest number divisible by 7 11 13 17 use the number from 1 to 10000 (or even 100000)

This assignment requires you to design, implement and test a program using Java features from the first half of the subject content. You are required to implement in Java all the c