/** Return the max of <code>a</code> or <code>b</code> */ public static Money max(Money a, Money b) { if (a.isGreaterThan(b)) { return a; } else { return b; } }