File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 19066
    
  40

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: doubly linked list