@Override
    public int hashCode() {
        return Objects.hash(negativeSign, positiveSign, zeroDigit, decimalMark, minDecimals, decimalGroups, shift,
                roundingMode, Arrays.hashCode(codes), codeSeparator, codePrefixed);
    }
@Test
    public void testHashCode() {
        MonetaryFormat mf1 = new MonetaryFormat(true);
        MonetaryFormat mf2 = new MonetaryFormat(true);
        assertEquals(mf1.hashCode(), mf2.hashCode());
    }