Meaningless Drivel is fun!*
The moose likes Java in General and the fly likes Java in data structures and linked list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java in data structures and linked list" Watch "Java in data structures and linked list" New topic
Author

Java in data structures and linked list

anand reeddy
Greenhorn

Joined: May 05, 2009
Posts: 17
I have a question regarding usage of java in datastructures like linked list and binary search trees

I developed binsary search trees in C programming language, Not sure how we develop binary search trees,linked list, double linked list in java.

Do Inbuilt libraries are used.

Thanks,
Matcha


SCJP 1.4
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

You can build these things in Java the same way that you'd build them in C++, more or less. But just as C++ has its own standard implementations of these sorts of things, so does Java (mostly in the java.util package.)

Moving to Java in General (Beginner).


[Jess in Action][AskingGoodQuestions]
anand reeddy
Greenhorn

Joined: May 05, 2009
Posts: 17
My concern was
c++ has pointers
where java does't support pointers.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

this may help you
anand reeddy
Greenhorn

Joined: May 05, 2009
Posts: 17
Thanks....
seetharam...Will have a look at it..
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39828
    
  28
That looks a useful link you quoted.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java in data structures and linked list