compare : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

compare
To be able to sort Objects in order, you must be able to compare them. There are two interfaces: java.lang.Comparable and java.util.Comparator. You need to implement one or both of them to use the various ordered collections and sorts. java.lang.Comparable is used to define the natural sort order of a class. java.util.Comparator is used to define a special sort order for a class.

This page is posted
on the web at:

http://mindprod.com/jgloss/compare.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\compare.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.21.21.209]
You are visitor number