/** * Returns an integer hash code for the receiver. Any two objects that * return <code>true</code> when passed to <code>equals</code> must return * the same value for this method. * * @return the receiver's hash * * @see #equals(Object) */ @Override public int hashCode() { return super.hashCode() ^ this.fontStyle; }
/** * Returns an integer hash code for the receiver. Any two objects that * return <code>true</code> when passed to <code>equals</code> must return * the same value for this method. * * @return the receiver's hash * * @see #equals(Object) */ @Override public int hashCode() { return super.hashCode() ^ this.fontStyle; }