com.jaxfront.core.util
Interface Sortable

All Known Implementing Classes:
StringArraySorter, StringSorter, TypeNameSorter, ValidationErrorSorter, XMLSchemaPositionSorter, XPathSorter

public interface Sortable

This interface defines the comparison of two objects.

Version:
1.60

Method Summary
 boolean compare(java.lang.Object a, java.lang.Object b)
          Compares two objects and returns true if they are equal.
 

Method Detail

compare

boolean compare(java.lang.Object a,
                java.lang.Object b)
Compares two objects and returns true if they are equal.

Returns:
true if the compared objects are equal, false otherwise