public FSProvider() { Database db = new Database(); KGramsManager kGramManager = new KGramsManager(db); FSHelper fsHelper = new FSHelper(kGramManager, db); fsSearching = new FSSearching(db, fsHelper); fsInserting = new FSInserting(db, fsHelper, kGramManager); }
public FSSearching(Database database, FSHelper fsHelper) { this.database = database; this.fsHelper = fsHelper; }
public KGramsManager(Database database) { this.database = database; this.dictionaryKGrams = this.readKGrams(); }
public FSInserting(Database database, FSHelper fsHelper, KGramsManager kGramManager) { this.database = database; this.fsHelper = fsHelper; this.kGramManager = kGramManager; }