This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Linked List operation 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 "Linked List operation" Watch "Linked List operation" New topic

Linked List operation

Timothy Leong
Ranch Hand

Joined: May 25, 2005
Posts: 55
hi guys,
what are the operations of a linked list can performed?

1) Add new node
2) Delete node
3) Sorting
4) Search

any more tt requires the manipulation of linked list?
Gerardo Tasistro
Ranch Hand

Joined: Feb 08, 2005
Posts: 362
Check out

You can add whole collections, remove parts or get sublists of your list.


Hope that helps
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
If you need to implement your own linked list class for a homework assignment, you should read your textbook. It should contain a thorough list of the basic operations you can perform on a linked list. If it doesn't, you should return it and ask your professor to use a better book.


Java API Documentation
The Java Tutorial
Don't get me started about those stupid light bulbs.
subject: Linked List operation
Similar Threads
Nth Node from Last ???
advantage Doublylink list over linklist
delete in a singly linked list
doubly linked list
Linked Lists, Nodes, Quicksort