Yûki Statistique Méthode vides
This commit is contained in:
parent
433ae7d6b4
commit
71ca677532
1 changed files with 45 additions and 0 deletions
45
src/main/java/fr/myny/stats/YuukiStats.java
Normal file
45
src/main/java/fr/myny/stats/YuukiStats.java
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
package fr.myny.stats;
|
||||
|
||||
import fr.myny.database.DataBase;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
import java.util.TreeMap;
|
||||
|
||||
public class YuukiStats {
|
||||
private DataBase dataBase;
|
||||
private Connection connection;
|
||||
|
||||
private TreeMap<String,String> treeMap;
|
||||
|
||||
public YuukiStats() throws SQLException {
|
||||
setDataBase(new DataBase());
|
||||
setConnection(getDataBase().getConnection());
|
||||
statsNumero();
|
||||
}
|
||||
|
||||
public DataBase getDataBase() { return dataBase; }
|
||||
public Connection getConnection() { return connection; }
|
||||
public TreeMap<String, String> getTreeMap() { return treeMap; }
|
||||
|
||||
public void setConnection(Connection connection) { this.connection = connection; }
|
||||
public void setDataBase(DataBase dataBase) { this.dataBase = dataBase; }
|
||||
public void setTreeMap(TreeMap<String, String> treeMap) { this.treeMap = treeMap; }
|
||||
|
||||
public void statsNumero() throws SQLException {
|
||||
setTreeMap(new TreeMap<String,String>());
|
||||
}
|
||||
|
||||
public void statsCombinaison2(int chiffre1) throws SQLException {
|
||||
setTreeMap(new TreeMap<String,String>());
|
||||
}
|
||||
|
||||
public void statsCombinaison3(int chiffre1, int chiffre2) throws SQLException {
|
||||
setTreeMap(new TreeMap<String,String>());
|
||||
}
|
||||
|
||||
public void statsNumeroBonus() throws SQLException {
|
||||
setTreeMap(new TreeMap<String,String>());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in a new issue