コード例 #1
0
ファイル: Money.java プロジェクト: payne/timeandmoney
 /** 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;
   }
 }