Esempio n. 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);
  }
Esempio n. 2
0
 public ListIterator getTransactions() {
   return transactions.iterator();
 }