コード例 #1
0
 public void searchEvent(Advertisable adv) {
   if (filtrage(adv)) {
     results.add((Objet) adv);
     container.searchEvent(adv);
   }
   Application.getInstance().updateUI();
 }
コード例 #2
0
 public boolean process() {
   DiscoveryService ds = Application.getInstance().getPeer().getDiscovery();
   GrammarSearch gs = new GrammarSearch(ds);
   gs.addListener(this);
   changeMinuscule();
   gs.search(recherche);
   return true;
 }