File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubly linked list

 
faisal hameed
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do we have senitel node always in doubly linked list in Java??
 
Henry Wong
author
Marshal
Pie
Posts: 20835
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
senitel node??
 
Istvan Kovacs
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry Wong wrote:senitel node??

http://en.wikipedia.org/wiki/Linked_list#Sentinel_nodes
 
Istvan Kovacs
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic