Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Oct 6th, 2012  |  syntax: None  |  size: 0.53 KB  |  hits: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /*
  2.  * To change this template, choose Tools | Templates
  3.  * and open the template in the editor.
  4.  */
  5. package com.infobip.jsouptest;
  6.  
  7. import java.util.concurrent.Callable;
  8.  
  9. /**
  10.  *
  11.  * @author linski
  12.  */
  13. public class MatchWorker implements Callable<Match>{
  14.  
  15. private String element;
  16.  
  17. public MatchWorker(String element) {
  18.     this.element = element;
  19. }
  20.  
  21.     @Override
  22.     public Match call() throws Exception {
  23.         Match match = null;
  24.         match = new Match(App.connect(element).title());
  25.         return match;
  26.     }
  27. }