Package | Description |
---|---|
org.wikibrain.utils |
Modifier and Type | Method and Description |
---|---|
static <T> void |
ParallelForEach.iterate(Iterator<T> iterator,
int numThreads,
int queueSize,
Procedure<T> fn,
int logModulo) |
static <T> void |
ParallelForEach.iterate(Iterator<T> iterator,
Procedure<T> fn) |
static <T> void |
ParallelForEach.iterate(Iterator<T> iterator,
Procedure<T> fn,
int logModulo) |
static <T> void |
ParallelForEach.loop(Collection<T> collection,
int numThreads,
Procedure<T> fn) |
static <T> void |
ParallelForEach.loop(Collection<T> collection,
int numThreads,
Procedure<T> fn,
int logModulo) |
static <T> void |
ParallelForEach.loop(Collection<T> collection,
Procedure<T> fn) |
static <T> void |
ParallelForEach.loop(Collection<T> collection,
Procedure<T> fn,
int logModulo) |
static void |
ParallelForEach.range(int from,
int to,
int numThreads,
Procedure<Integer> fn)
Construct a parallel loop on [from, to).
|
static void |
ParallelForEach.range(int from,
int to,
Procedure<Integer> fn) |
Copyright © 2018. All rights reserved.