Advertisement
Guest User

Untitled

a guest
Oct 6th, 2012
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement