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

Constructor Index

 o Money()
 o Money(int)
 o Money(int, long)

Method Index

 o add(Money)
 o add(Money, Money)
 o cents()
 o dollars()
 o equals(Money)
 o less(Money)
 o set(Money)
 o subtract(Money)
 o subtract(Money, Money)

Constructors

 o Money
  public Money()
 o Money
  public Money(int dollars)
 o Money
  public Money(int dollars,
               long cents)

Methods

 o set
  public void set(Money value)
 o add
  public static Money add(Money first,
                          Money second)
 o subtract
  public static Money subtract(Money minuend,
                               Money subtrahend)
 o add
  public Money add(Money other)
 o subtract
  public Money subtract(Money other)
 o dollars
  public int dollars()
 o cents
  public int cents()
 o equals
  public boolean equals(Money other)
 o less
  public boolean less(Money other)

All Packages  Class Hierarchy  This Package  Previous  Next  Index