src/main/java/org/jboss/util/HashCode.java
public int compareTo(final Object obj) throws ClassCastException {
      HashCode hashCode = (HashCode)obj;
      return compareTo(hashCode.value);
   }
public int compareTo(final Object obj) throws ClassCastException {
      HashCode hashCode = (HashCode)obj;
      return compareTo(hashCode.value);
   }
Compares this object with the specified object for order.

@param obj   Value to compare with.
@return        A negative integer, zero, or a positive integer as
this object is less than, equal to, or greater than
the specified object.

@throws ClassCastException    Object is not a <tt>HashCode</tt>.