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
There are three layers:-  a . Stub and Skeleton layer This layer lies just under the view of the developer. This layer intercepts method calls made by the client to the inte

Name Conflicts when importing packages It is possible which you will try to import a package which contains classes in which have the similar name as a class in your own source

Develop a Graphical Display Framework Project Description: The intent of this project is to prepare a web based graphical display framework that will display many data points


A bean factory is fine to easy applications, but to take benefit of the full power of the Spring framework, you may require to move up to Springs more advanced container, the appli

Write a JavaScript program to prompt the user for the radius of a sphere and call function sphereVolume to calculate and display the volume of the sphere in the status bar.

write a program to find the area under the curvey y=f(x) between x=a and x=b.integrate y=f(x) between the limits of a and b. the area under a curve between two points can be found

JMS consumer is a JMS client that receives messages.

The default nature of an object's clone() function automatically provides a shallow copy. So to need a deep copy the classes have to be edited or adjusted.   Shallow co

JMS is asynchronous in nature. Therefore not all the pieces need to be up all the time for the application to function as a whole. Even if the receiver is down the MOM will kept th