|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object Type2
public class Type2
組合せの数を求める実装例 2
コンストラクタの概要 | |
---|---|
Type2()
|
メソッドの概要 | |
---|---|
static int |
combination(int n,
int m)
組合せの数を計算する静的メソッド |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public Type2()
メソッドの詳細 |
---|
public static int combination(int n, int m)
n
- 選ばれるものの総数m
- 選ぶ数
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |