class Money extends Magnitude<Money> {

    public boolean hasSameCurrency(final Money money) {
        return currency.equals(money.currency);
    }

    public  Money(final double amount, final String currency);
    public  Money(final long amount, final String currency);

}