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
A Java package is a naming context for classes and interfaces. A package is used to make a separate name space for groups of classes and interfaces. Packages are also used to arran

i don''t need any code i need analysis and design only -i need 4 use cases - description - activity diagram -sequence diagram -class diagram - data base diagram

there is a pebble merchant. he sells the pebbles,that are used for shining the floor.his main duty is to take the length of the room side but he sometines mistakes doing that and m


Is it right that garbage collection guarantee that a program will not run out of memory?

Enumerate the concept of write once run anywhere - JAVA Java has introduced concept of WORA (write once run anywhere). When you write a java program it is called source code of

API consumer -This application should consume a third party API -You should use more than just one method of the API, I'd like to see at least 3 or 4 -Have some concept

Objectives 1.      To design and implement a simple class. 2.      To write a test program to create instances of your class and demonstrate its behaviour. 3.      To col

Modify both of the above clients (to write separate clients) to extract the exchange rate from a live web service that performs currency conversion. You can choose a Java or a .NET

Need software to print bills on A4 paper in the format provided. The details are shown below - 1. Serially generated Invoice Number. 2. Appropriate fields in the invoice have