Class atm.util.Money
All Packages Class Hierarchy This Package Previous Next Index
Class atm.util.Money
java.lang.Object
|
+----atm.util.Money
- public class Money
- extends Object
-
Money()
-
-
Money(int)
-
-
Money(int, long)
-
-
add(Money)
-
-
add(Money, Money)
-
-
cents()
-
-
dollars()
-
-
equals(Money)
-
-
less(Money)
-
-
set(Money)
-
-
subtract(Money)
-
-
subtract(Money, Money)
-
Money
public Money()
Money
public Money(int dollars)
Money
public Money(int dollars,
long cents)
set
public void set(Money value)
add
public static Money add(Money first,
Money second)
subtract
public static Money subtract(Money minuend,
Money subtrahend)
add
public Money add(Money other)
subtract
public Money subtract(Money other)
dollars
public int dollars()
cents
public int cents()
equals
public boolean equals(Money other)
less
public boolean less(Money other)
All Packages Class Hierarchy This Package Previous Next Index