|
|||||||||
前 次 | フレームあり フレームなし |
<Unnamed> での Customer の使用 |
---|
Customer として宣言されている <Unnamed> のフィールド | |
---|---|
private Customer |
Sale.customer
|
Customer 型の型パラメータを持つ <Unnamed> のフィールド | |
---|---|
private HashSet<Customer> |
ShoppingSystem.rcustomers
登録されている顧客の集合. |
Customer を返す <Unnamed> のメソッド | |
---|---|
Customer |
Sale.getCustomer()
|
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 に勧める商品を計算 |
void |
Sale.setCustomer(Customer customer)
|
Customer 型の型引数を持つ <Unnamed> のメソッドパラメータ | |
---|---|
void |
ShoppingSystem.setRcustomers(HashSet<Customer> rcustomers)
|
Customer 型のパラメータを持つ <Unnamed> のコンストラクタ | |
---|---|
Sale(Customer c,
Product p,
int n)
顧客cが製品pをn個かった取引のインスタンスを作成. |
|
|||||||||
前 次 | フレームあり フレームなし |