/** * Returns the hash code for this {@code MathContext} instance. * * @return the hash code for this {@code MathContext}. */ @DSComment("From safe class list") @DSSafe(DSCat.SAFE_LIST) @DSGenerator( tool_name = "Doppelganger", tool_version = "2.0", generated_on = "2013-12-30 12:56:34.364 -0500", hash_original_method = "CDDF05FC589C0F0146B62DD26D215A30", hash_generated_method = "B195C6308746B1DAC1EA450308C3E284") @Override public int hashCode() { // Make place for the necessary bits to represent 8 rounding modes return ((precision << 3) | roundingMode.ordinal()); }