aspose file tools*
The moose likes Beginning Java and the fly likes Modify a Linked Linear list into a Circular List. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Modify a Linked Linear list into a Circular List." Watch "Modify a Linked Linear list into a Circular List." New topic
Author

Modify a Linked Linear list into a Circular List.

Ronald Spina
Greenhorn

Joined: Jan 23, 2012
Posts: 26


Hello guys,
Above is my working code for a linked list named EmployeeList. It implements a linear structure. I need to turn it into a circular list. I know that a circular list has the last node which points to the first node. There is no head.
Can someone help me and tell which method I have to change from the above code to change it to a circular list.
Please help cause i need this for the exam.
Thank you very much.
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

If you wrote this code yourself and understand it, and if you understand the linked lists and circular linked lists, then you should be able to figure out how to change it. At the very least, you should be abelt to make some educated attempts and post a more specific question than "which method do I change?"

The fact that this is for an exam is all the more reason why you should work out as much as possible on your own.

Good luck, and post when you have a more specific question!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Modify a Linked Linear list into a Circular List.
 
Similar Threads
Node Search
readObject from Stream till EOF
Linked List Sorting Problem
Append writeObject()
Append objects to List and show them.