|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjskat.share.Tools
public class Tools
| Constructor Summary | |
|---|---|
Tools()
|
|
| Method Summary | |
|---|---|
static void |
checkLog()
Makes sure that a log4j appender exists. |
static boolean |
checkPath(java.lang.String path,
boolean doCreate)
|
static java.lang.String |
dump(int[] values)
Converts an int array to a String |
static java.lang.String |
dumpCards(java.util.HashSet[] values)
Converts a HashSet array of Cards to a String |
static java.lang.String |
dumpCards(java.util.Vector values)
Converts a HashSet Vector of Cards to a String |
static boolean |
isIn(int toCheck,
int[] list)
Checks whether a number is in a given set of numbers |
static void |
setNewLogfile(java.lang.String filename)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tools()
| Method Detail |
|---|
public static void checkLog()
public static java.lang.String dump(int[] values)
values - int array
public static java.lang.String dumpCards(java.util.HashSet[] values)
values - int array
public static java.lang.String dumpCards(java.util.Vector values)
values - int array
public static void setNewLogfile(java.lang.String filename)
public static boolean checkPath(java.lang.String path,
boolean doCreate)
public static boolean isIn(int toCheck,
int[] list)
toCheck - the number that should be checkedlist - a list, usually defined by new int[] {a, b, c, ...}
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||