|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--hanbai_kanri.data.SalesSummary
売り上げの集計を行うクラス
コンストラクタの概要 | |
SalesSummary()
|
メソッドの概要 | |
static int[] |
summaryByItem(Sales[] salesList)
商品ごとの売り上げ金額を集計する |
static int[] |
summaryByMonth(Sales[] salesList)
月ごとの売り上げ金額を集計する |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public SalesSummary()
メソッドの詳細 |
public static int[] summaryByMonth(Sales[] salesList)
salesList
- 売り上げデータ
public static int[] summaryByItem(Sales[] salesList)
salesList
- 売り上げデータ
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |