List of usage examples for java.util.concurrent RecursiveTask subclass-usage
From source file Main.java
class IntSum extends RecursiveTask<Long> { private int count; public IntSum(int count) { this.count = count; }
From source file Test.java
class SumOfSquaresTask extends RecursiveTask<Long> { private int numbers[] = new int[100000]; private int threshold = 1000; private int from; private int to;
From source file de.science.hack.meshbuilding.AbstractFaceBuilderTask.java
/** * Parent task to create faces for the mesh. * @author Mario */ abstract class AbstractFaceBuilderTask extends RecursiveTask<List<Vec3D[]>> { protected static final int ZERO = 0;
From source file Main.java
class RecursiveSum extends RecursiveTask<Long> { static final int THRESHOLD = 1000; List<Integer> list; int begin; int end;
From source file com.elusive_code.newsboy.EventNotifierTask.java
/**
* <p>Simple task that performs notification</p>
* <p>If listener was claimed by garbage collector before event handling than
* {@link com.elusive_code.newsboy.WeakReferenceCollectedException} is thrown</p>
*
* @author Vladislav Dolgikh
From source file com.clust4j.algo.ParallelChunkingTask.java
public abstract class ParallelChunkingTask<T> extends RecursiveTask<T> implements NamedEntity { private static final long serialVersionUID = 6377106189203872639L; final LogTimer timer; final public ChunkingStrategy strategy; final public ArrayList<Chunk> chunks;
From source file com.ge.research.semtk.sparqlX.parallel.SparqlParallelQueries.java
/** * Stores all parameters passed to SparqlParallelQueryServlet and its eventual response. */ public class SparqlParallelQueries extends RecursiveTask<Void> { private static final long serialVersionUID = 1L;
From source file com.ejisto.modules.controller.wizard.installer.workers.LoadClassAction.java
/**
* Created by IntelliJ IDEA.
* User: celestino
* Date: 8/8/12
* Time: 6:21 PM
*/
From source file multithread.ExtendPairingRecursiveTask.java
public class ExtendPairingRecursiveTask extends RecursiveTask<List<PairingAndNullSpaces>> { // ------------------------------------------------------------------- // Class variables // ------------------------------------------------------------------- private final List<ResultsFromEvaluateCost> listResultSeed; private int start;
From source file org.caleydo.core.util.impute.KNNImpute.java
/** * @author Samuel Gratzl * */ public class KNNImpute extends RecursiveTask<Table<Integer, Integer, Float>> { private static final long serialVersionUID = 1605596542323204167L;