BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-12-2010, 10:15 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2009
Model: 8300
PIN: N/A
Carrier: developer
Posts: 37
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Need API details for sorting.

Please Login to Remove!

HI Guys,

how do i sort the objects, by considering one the field in each objects?
is there any API available for this?
I am using JDE 4.2 and 4.6..
Offline  
Old 01-13-2010, 02:28 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

The only sorting container is SimpleSortingVector.

You write a comparator that plugs into this containiner and is used to determine the order of two consecutive objects.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.