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
Contributor
coolfish
Posts: 26
Registered: ‎07-25-2012
My Device: 9800
My Carrier: xyz

HasMap && List Class

 

Hi,

       i want to use the HasMap & List class in my java blackberry application. and i will do this . but the question is will it affect to perfomance of blackberry application??.

 

Thanks 

Cool :smileyhappy:

Please use plain text.
Developer
simon_hain
Posts: 15,863
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: HasMap && List Class

i guess you mean hashmap?
as BB OS is based on j2me/java 1.3 there is no collections API.
you can develop these classes yourself pretty easily though, if you want to. otherwise use Hashtable and Vector or other existing classes.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Contributor
coolfish
Posts: 26
Registered: ‎07-25-2012
My Device: 9800
My Carrier: xyz

Re: HasMap && List Class

Hey simon, ya it is HashMap. and i will develop this classes but will it cause any problem in  application perfomance??

 

Please use plain text.
Developer
simon_hain
Posts: 15,863
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: HasMap && List Class

well, that depends on your implementation of course, but in general i don't think so.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.