Exemple #1
0
 /** wait for the thread to finish */
 public void join() throws InterruptedException {
   sucker.join();
 }
Exemple #2
0
 public void start() {
   sucker = new Thread(this);
   sucker.start();
 }