API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util. Comparator View Source
Author(s)
Josh Bloch
Neal Gafter
Since
1.2
Version
1.26, 04/21/06
Serial
Hierarchy
 Comparator
Subinterfaces
Description
public interface Comparator
  A comparison function, which imposes a total ordering on some collection of objects.
See also:    Comparable Serializable
Methods
Hide/Show inherited methods
public int compare ( T o1, T o2)
  Compares its two arguments for order.
public boolean equals (Object obj)
  Indicates whether some other object is "equal to" this comparator.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar