Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10673

Re: Comparator?

From Knute Johnson <nospam@knutejohnson.com>
Newsgroups comp.lang.java.programmer
Subject Re: Comparator?
Date 2011-12-12 07:28 -0800
Organization A noiseless patient Spider
Message-ID <jc56i8$516$2@dont-email.me> (permalink)
References <jc3l8r$rj6$1@dont-email.me> <qqgbe719blhm4342gksgnti30pu7gr4f5e@4ax.com>

Show all headers | View raw


On 12/12/2011 1:05 AM, Roedy Green wrote:
> On Sun, 11 Dec 2011 17:26:51 -0800, Knute Johnson
> <nospam@knutejohnson.com>  wrote, quoted or indirectly quoted someone
> who said :
>
>> I've got a question about how to create a Comparator that I can use to
>> keep a sorted list of objects
>
> see http://mindprod.com/applet/comparatorcutter.html
>
> Just fill in the blanks and it will generate you the Java code you
> need.
>
> You could do thing with strings with the airport code in the first
> three slots or with objects with an airport and City name String
> field.

Thanks Roedy, I'll take a look.

-- 

Knute Johnson

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Comparator? Knute Johnson <nospam@knutejohnson.com> - 2011-12-11 17:26 -0800
  Re: Comparator? Patricia Shanahan <pats@acm.org> - 2011-12-11 18:16 -0800
    Re: Comparator? Knute Johnson <nospam@knutejohnson.com> - 2011-12-12 07:27 -0800
  Re: Comparator? Roedy Green <see_website@mindprod.com.invalid> - 2011-12-12 01:05 -0800
    Re: Comparator? Knute Johnson <nospam@knutejohnson.com> - 2011-12-12 07:28 -0800

csiph-web