Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Contributor
Posts: 69
Registered: ‎04-05-2010
My Device: Storm
My Carrier: BSNL

What is the Tree data structure equivalent in RIM JDK

Just wondering whether there is any Tree data structure equivalent in the RIM JDK.

Thanks in advance.

Sandeep

Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: What is the Tree data structure equivalent in RIM JDK

Simple: net.rim.device.api.ui.component.TreeField

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Developer
Posts: 562
Registered: ‎09-30-2009
My Device: Not Specified

Re: What is the Tree data structure equivalent in RIM JDK

If you want a plain Tree data structure (not a TreeField or anything like that), surely you can create one yourself?

Highlighted
Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: What is the Tree data structure equivalent in RIM JDK

Woops, read to fast. Didn't see "data" in the original question. Well if you need a tree GUI field it was in my previous post.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Regular Contributor
Posts: 69
Registered: ‎04-05-2010
My Device: Storm
My Carrier: BSNL

Re: What is the Tree data structure equivalent in RIM JDK

Thanks. Yes very much I can write my own Tree data structure, but just wondering whether there is already existing Tree data structure. Because I found hash map, maps and various other data structures, but not the tree. I should not re-invent the wheel :-) when there is somehting existing which I can use.

 

 

Developer
Posts: 562
Registered: ‎09-30-2009
My Device: Not Specified

Re: What is the Tree data structure equivalent in RIM JDK

If it's not in the API Javadocs for Blackberry, then it's not provided to you. You do have to reinvent tools that are not provided to you in your toolbox.

Regular Contributor
Posts: 69
Registered: ‎04-05-2010
My Device: Storm
My Carrier: BSNL

Re: What is the Tree data structure equivalent in RIM JDK

Thanks.