results.get();
}
public static void main(String[] args) throws ExecutionException, InterruptedException {
IAnalysisEngine engine = new GuavaListenableFuturesAnalysisEngine();
Stopwatch watch;
System.out.println("==SEQUENTIAL==");
watch = new Stopwatch().start();
engine.doAnalysisSequential();
watch.stop();
System.out.println(watch.elapsedMillis() + "ms taken.");
System.out.println("==PARALLEL==");
watch = new Stopwatch().start();
engine.doAnalysisParallel();
watch.stop();
System.out.println(watch.elapsedMillis() + "ms taken.");
}