Data Structures in Java: Part 9, The Comparator Interface, Part 1 New Mexico

Baldwin discusses and illustrates the use of the Comparator interface. The sorting order established by a Comparator may be different or may be the same as the natural order. A Comparator can be used to establish a sorting order for objects that don't have a natural ordering. The use of a Comparator is an alternative to the implementation of the Comparable interface.

Local Companies

Pod Inc
505-243-2287
5951 Jefferson St NE
Albuquerque, NM
Portalsoft Technologies
505-888-0819
3737 Princeton DR NE
Albuquerque, NM
Progressive Computing Solutions
505-255-7705
1919 Alvarado DR NE
Albuquerque, NM
Alliance Networks
505-298-3020
9577 Osuna RD NE
Albuquerque, NM
Nuail Technologes Inc
505-260-4770
615 Wyoming Blvd SE
Albuquerque, NM
Moose Cash Register Inc
505-237-9900
7806 Menaul Blvd NE
Albuquerque, NM
Lisle Computer Corporation
505-296-5358
3818 Bonnie Ann CT NE
Albuquerque, NM
Roadrunner Software Solutions
505-280-7919
2721 Casa Del Norte Ct NE
Albuquerque, NM
Management Sciences Inc
505-255-8611
6022 Constitution Ave NE
Albuquerque, NM
Ardham Technologies Inc
505-884-0284
4600 Montgomery Blvd NE
Albuquerque, NM

provided by: 
Originally published at Internet.com


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

Preface

A miniseries

This is the ninth 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 8, The Comparable Interface, Part 2.

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 first lesson in a sub-series on the Comparator interface. The purpose of the lessons in this sub-series is to teach you about the interactions between the Comparator interface and the Collections Framework, particularly with respect to the Set, SortedSet, and SortedMap interfaces of the Collections Framework. This lesson discusses Set and SortedSet. A discussion of SortedMap will be deferred for inclusion in a subsequent lesson.

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...

Read article at Internet.com site

Featured Local Company

Moose Cash Register Inc

505-237-9900
7806 Menaul Blvd NE
Albuquerque, NM

Regional Articles
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Alamogordo NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Albuquerque NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Anthony NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Aztec NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Belen NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Clovis NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Deming NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Espanola NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Farmington NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Gallup NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Hobbs NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Las Cruces NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Los Alamos NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Los Lunas NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Portales NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Rio Rancho NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Roswell NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Santa Fe NM
- Data Structures in Java: Part 9, The Comparator Interface, Part 1 Silver City NM
Related Local Event
2010 Winter Electronic Information Systems (EIS) Committee Meeting
Dates: 1/28/2010 - 1/30/2010
Location: Associated Contractors of New Mexico
Albuquerque, NM
View Details

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