This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes doubly linked list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "doubly linked list" Watch "doubly linked list" New topic
Author

doubly linked list

faisal hameed
Ranch Hand

Joined: Jan 19, 2009
Posts: 48
do we have senitel node always in doubly linked list in Java??


Regards, M Faisal Hameed
PUCIT, Pakistan
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 20029
    
  44

senitel node??


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Istvan Kovacs
Ranch Hand

Joined: May 06, 2010
Posts: 100
Henry Wong wrote:senitel node??

http://en.wikipedia.org/wiki/Linked_list#Sentinel_nodes
Istvan Kovacs
Ranch Hand

Joined: May 06, 2010
Posts: 100
faisal hameed wrote:do we have senitel node always in doubly linked list in Java??


Note that you can't access the internal representation (nodes) of the built-in type java.util.LinkedList; it just implements the java.util.List interface, and provides position-based access.

For your own implementation, it's up to you.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: doubly linked list
 
It's not a secret anymore!