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

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

Quasar Software Inc
504-485-5606
710 Weiblen Pl
New Orleans, LA
Ecad Inc
504-818-3091
824 Elmwood Park Blvd
New Orleans, LA
Creative Computer Solutions
225-925-3210
1651 Thibodeaux Ave
Baton Rouge, LA
Network Solution Providers
225-709-2591
5515 Superior Dr
Baton Rouge, LA
Cyrious Software
225-752-2867
12627 Jefferson Hwy
Baton Rouge, LA
VanillaSoft, Inc.
866-763-8826
1820 St. Charles Ave.
New Orleans, LA
Electronic Evidence Retrival LLC
504-483-0201
718 N Alexander St
New Orleans, LA
CMA Technology Solutions
225-927-9200
8180 YMCA Plaza DR
Baton Rouge, LA
Custom Accounting Solutions Inc
225-935-2202
2974 Fritchie Dr
Baton Rouge, LA
Bits Technical Corp
225-752-8899
14141 Airline Hwy
Baton Rouge, LA

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

Featured Local Company

VanillaSoft, Inc.

866-763-8826
1820 St. Charles Ave.
New Orleans, LA
http://www.vanillasoft.com

Regional Articles
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Abbeville LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Alexandria LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Baker LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Bastrop LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Baton Rouge LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Bogalusa LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Bossier City LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Breaux Bridge LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Carencro LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Chalmette LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Covington LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Crowley LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Denham Springs LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Deridder LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Eunice LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Franklinton LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Gonzales LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Gretna LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Hammond LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Harvey LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Haughton LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Houma LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Jennings LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Kenner LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 La Place LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Lafayette LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Lake Charles LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Leesville LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Mandeville LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Marrero LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Metairie LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Minden LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Monroe LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Morgan City LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Natchitoches LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 New Iberia LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 New Orleans LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Opelousas LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Pineville LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Plaquemine LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Ponchatoula LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Prairieville LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Rayne LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Ruston LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Saint Martinville LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Shreveport LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Slidell LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Sulphur LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Thibodaux LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Ville Platte LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Walker LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 West Monroe LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Westwego LA
- Data Structures in Java: Part 14, The Comparator Interface, Part 6 Zachary LA
Related Local Event
Annual Technical Conference & Exhibition (ATCE 2009)
Dates: 10/4/2009 - 10/7/2009
Location: Ernest N Morial Convention Center, New Orleans
New Orleans, LA
View Details

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