Re: Is there a better way to do this?
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 28 Jul 2007 20:33:07 GMT
Yeah, I knew I could have implemented a bubble sort or insertion sort orso does Arrays.sort which sorts arrays. See
something like that, but the Collections.sort lets me do it in one line.
http://mindprod.com/jgloss/sort.html
There is no need to roll your own sort to sort arrays.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- Is there a better way to do this?
- From: John
- Re: Is there a better way to do this?
- From: Roedy Green
- Re: Is there a better way to do this?
- From: JT
- Is there a better way to do this?
- Prev by Date: Re: Question for Roedy
- Next by Date: Re: Exchanging information
- Previous by thread: Re: Is there a better way to do this?
- Next by thread: Re: Is there a better way to do this?
- Index(es):
Relevant Pages
|