|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsugar.Combinatorics
public class Combinatorics
Constructor Summary | |
---|---|
Combinatorics()
|
Method Summary | |
---|---|
static long |
countCombs(int n,
int k)
Get number of variations. |
static long |
countVars(int n,
int k)
Get number of variations. |
static byte[] |
getCombs(byte n,
byte k)
|
static byte[] |
getVars(byte n,
byte k)
Get number of variations. |
static boolean |
isAscending(byte[] a,
int off,
int len)
Get number of variations. |
static boolean |
isUnique(byte[] a,
int off,
int len)
Get number of variations. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Combinatorics()
Method Detail |
---|
public static long countVars(int n, int k)
public static long countCombs(int n, int k)
public static byte[] getVars(byte n, byte k)
public static byte[] getCombs(byte n, byte k)
public static boolean isUnique(byte[] a, int off, int len)
public static boolean isAscending(byte[] a, int off, int len)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |