class Money implements Serializable, Comparable<Object> {

    public Money addTo(Money other) {
        assertSameCurrencyAs(other);

        this.cent += other.cent;

        return this;
    }

    public  Money();
    public  Money(long yuan, int cent);
    public  Money(long yuan, int cent, Currency currency);
    public  Money(String amount);
    public  Money(String amount, Currency currency);
    public  Money(String amount, Currency currency, int roundingMode);
    public  Money(double amount);
    public  Money(double amount, Currency currency);
    public  Money(BigDecimal amount);
    public  Money(BigDecimal amount, int roundingMode);
    public  Money(BigDecimal amount, Currency currency);
    public  Money(BigDecimal amount, Currency currency, int roundingMode);

}