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
logo
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.
Blog
IP:[65.110.21.43]
Your face IP:[174.129.62.126]
You are visitor number