public int hashCode() { return a.hashCode(); }
/** * Implement a hash code for this comparator that is consistent with {@link #equals(Object)}. * * @return a hash code for this comparator. */ @Override public int hashCode() { return (nullsAreHigh ? -1 : 1) * nonNullComparator.hashCode(); }
/** * Hashcode compatible with equals. * * @return the hash code for this comparator */ public int hashCode() { int result; result = comparator.hashCode(); return result; }
/** @see java.lang.Object#hashCode() */ @Override public int hashCode() { return comp.hashCode(); }