Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package com.infobip.jsouptest;
- import java.util.concurrent.Callable;
- /**
- *
- * @author linski
- */
- public class MatchWorker implements Callable<Match>{
- private String element;
- public MatchWorker(String element) {
- this.element = element;
- }
- @Override
- public Match call() throws Exception {
- Match match = null;
- match = new Match(App.connect(element).title());
- return match;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement