Java Project Java Project Java Project Java Project - 13743

Request Posted by


Rating : No Rating
Earned: $0
Request Detail
Price: $13
  • From: Computer Science, Engineering
  • Due on: Sat 08 Sep, 2012 (07:52pm)
  • Asked on: Sat 08 Sep, 2012
  • Due date has passed, but you can still Post Solution.

A ring is a collection of items that has a reference to a current item. An operation----lets' call it advance----moves the reference to the next item in the collection. When the reference reaches the last item, the next advance operation will move the reference back to the first item. A ring also has operations to get the current item, add an item, and remove an item. The details of where an item is added and which one is removed are up to you.--------------------------------------------------------------------------------------------------------------------------------------------------------------------------Design an ADT to represent a ring of objects. Specify each operation by stating its purpose, by describing its parameters, and by writing a pseudocode version of its header. Then write a Java interface for a ring's methods. Include javadoc-style comments in your code.

Please Login or Register to Submit the Solution for the Request