Article View: borland.public.jbuilder.java.language
Article #8407Re: Having problems with a sort...
From: Owen Green
Date: Mon, 19 Mar 2001 18:43
Date: Mon, 19 Mar 2001 18:43
14 lines
1364 bytes
1364 bytes
> Because I must do the sort on disk - there could potentially be
> gazillions of these records.
Ah, well I'm just having to go home, but it may interest you to know that if
you change
myDataString.compareTo(myIndexCompareString) < 0
to
myDataString.compareTo(myIndexCompareString) > 0
it comes out in perfect reverse order...
Sorry not to be of more help, if you haven't cracked it tomorrow I'll have a
closer play with it...
Owen
Technical Details
Message-ID:
<3ab6536e_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!199.60.229.5!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!213.86.7.136References:
<3ab4c4e3.444852043@newsgroups.borland.com> <3ab62e22$1_2@dnews> <3ab63e8d.541533744@news.esat.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,91a554b109e4b985 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-23 03:41:44 PST From: "Owen Green" <owen@norobots.unique.com> Newsgroups: borland.public.jbuilder.java.language References: <3ab4c4e3.444852043@newsgroups.borland.com> <3ab62e22$1_2@dnews> <3ab63e8d.541533744@news.esat.net> Subject: Re: Having problems with a sort... Date: Mon, 19 Mar 2001 18:43:47 -0000 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 213.86.7.136 Message-ID: <3ab6536e_1@dnews> X-Trace: 19 Mar 2001 10:43:58 -0800, 213.86.7.136 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!199.60.229.5!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!213.86.7.136