クラス
Customer の使用

<Unnamed> での Customer の使用
 

Customer 型の型パラメータを持つ <Unnamed> のフィールド
private  HashSet<Customer> ShoppingSystem.rcustomers
          登録されている顧客の集合.
 

Customer を返す <Unnamed> のメソッド
 Customer[] ShoppingSystem.getCustomers()
          現状登録されている全ての顧客の配列を返す
 

Customer 型の引数を持つ型を返す <Unnamed> のメソッド
 HashSet<Customer> ShoppingSystem.getRcustomers()
           
 

Customer 型のパラメータを持つ <Unnamed> のメソッド
 boolean ShoppingSystem.buyProduct(Customer c, Product p, int n)
          顧客 c が 商品 p を n 個買う.
 Product[] ShoppingSystem.recommendProducts(Customer c)
          顧客 c に勧める商品を計算
 

Customer 型の型引数を持つ <Unnamed> のメソッドパラメータ
 void ShoppingSystem.setRcustomers(HashSet<Customer> rcustomers)