|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.sql.DBHelper
public class DBHelper
This class converts between different java datatypes
| Constructor Summary | |
|---|---|
private |
DBHelper()
|
| Method Summary | |
|---|---|
static java.util.HashMap<java.lang.Integer,int[]> |
alToHmInt(java.util.ArrayList<int[]> al)
extracts int[0] to HashMap key, int[>0] to value |
static java.util.HashMap<java.lang.Integer,long[]> |
alToHmLong(java.util.ArrayList<long[]> al)
extracts long[0] to HashMap key, long[>0] to value |
static Card |
cardDBToCard(int cardDB)
converts card db style to Card |
static Card[] |
cardsDBToCardArr(int[] cardsDB)
converts cards db style to Card[] |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private DBHelper()
| Method Detail |
|---|
public static java.util.HashMap<java.lang.Integer,long[]> alToHmLong(java.util.ArrayList<long[]> al)
al - as ArrayListpublic static java.util.HashMap<java.lang.Integer,int[]> alToHmInt(java.util.ArrayList<int[]> al)
al - as ArrayListpublic static Card[] cardsDBToCardArr(int[] cardsDB)
cardsDB - - cards in db format int[]
public static Card cardDBToCard(int cardDB)
cardDB - - one card in db format int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||