Example #1
0
  public void addTransaction(Object trans) {
    // if(!trans.getCustomer().toString().equals(this.toString()))
    //		throw new IllegalStateException ("Transaction is not by this customer.");

    transactions.add(trans);
  }
Example #2
0
 public ListIterator getTransactions() {
   return transactions.iterator();
 }