Data Structures in Java: Part 14, The Comparator Interface, Part 6 Iowa

Baldwin shows you how to use a Comparator created by the reverseOrder method of the Collections class to sort a list into reverse natural order. He also shows you how to use the reverse method of the Collections class to reverse the order of the elements in a list.

Local Companies

Infoweb Systems Inc
(563) 582-5042
3435 Asbury Rd Ste 175
Dubuque, IA
Hybrid Technologies
(319) 367-2230
207 E Linder St
New London, IA
Black B A Solutions
(515) 382-1027
1731 S G Ave
Nevada, IA
Advanced Technology Group
(319) 337-5193
328 E Washington St Ste 201
Iowa City, IA
Robert Half Technology
(319) 362-8606
625 1st St SE Ste 280
Cedar Rapids, IA
Eurosoft
(712) 255-7483
700 Jackson St
Sioux City, IA
Palmer Group
(515) 225-7000
3737 Woodland Ave Ste 300
West Des Moines, IA
Softechnics Inc
(515) 327-9300
4500 Westown Pkwy Ste 250
West Des Moines, IA
Computer Software Development Inc
(319) 849-2298
826 Summit St
Center Point, IA
Ideal Computer Systems Inc
(319) 447-4301
999 35th St Ste B
Marion, IA

provided by: 
Originally published at Internet.com


Java Programming, Lecture Notes #1376 * Preface * Preview * Discussion and Sample Program * Summary * What's Next -----------------------------------

Preface

A miniseries

This is the fourteenth lesson in a miniseries on Java data structures and the Java Collections Framework. The first lesson in the miniseries was entitled Data Structures in Java: Part 1, Getting Started. The previous lesson was entitled Data Structures in Java: Part 13, The Comparator Interface, Part 5.

The purpose of this miniseries is to help you learn the essential features of Object-Oriented data structures in Java using the Collections Framework.

A sub-series

This is also the sixth lesson in a sub-series on the Comparator interface. The primary purpose of the lessons in this sub-series is to teach you about the interactions between the Comparator interface and the Collections Framework.

Viewing tip

You may find it useful to open another copy of this lesson in a separate browser window. That will make it easier for you to scroll back and forth among the different listings while you are reading about them.

Supplementary material

I recommend that you also study the other lessons in my extensive collection of online Java tutorials. You will find those lessons published at Gamelan.com. However, as of the date of this writing, Gamelan doesn't maintain a consolidated index of my Java tutorial lessons, and sometimes they are difficult to locate there. You will find a consolidated index at Baldwin's Java Programming Tutorials.

Preview

In this lesson, I will teach you how to use a Comparator created by the reverseOrder method of the Collections class to sort a list into reverse natural order. I will also teach you how to use the reverse method of the Collections class to reverse the order of the elements in a list.

Discussion and Sample Program

Beginning with a quiz ...

Read article at Internet.com site
Regional Articles
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Ames IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Ankeny IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Bettendorf IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Burlington IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Cedar Falls IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Cedar Rapids IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Clinton IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Coralville IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Council Bluffs IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Davenport IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Des Moines IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Dubuque IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Fort Dodge IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Indianola IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Iowa City IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Marion IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Marshalltown IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Mason City IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Muscatine IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Oskaloosa IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Ottumwa IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Sioux City IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Urbandale IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Waterloo IA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 West Des Moines IA
Related Local Events
Technology Series: Cloud Computing, Data Hosting and Disaster Recovery
Dates: 1/19/2010 - 1/19/2010
Location: Alliance Technologies Inc‎
Des Moines, IA
View Details

Chamber Coffee - Vantus Bank
Dates: 11/18/2009 - 11/18/2009
Location: Le Mars Chamber of Commerce
Le Mars, IA
View Details

Chamber Coffee - The Living Center
Dates: 11/11/2009 - 11/11/2009
Location: Le Mars Chamber of Commerce
Le Mars, IA
View Details

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML