|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectendrov.util.collection.EvParallel
public class EvParallel
Functions for simple parallel processing
Field Summary | |
---|---|
static int |
numThread
Number of threads to use |
Constructor Summary | |
---|---|
EvParallel()
|
Method Summary | ||
---|---|---|
static
|
map_(java.util.Collection<A> in,
FuncAB<A,java.lang.Object> func)
Map_ :: [A] -> (A->_) -> [] |
|
static
|
map_(int numThread,
java.util.Collection<A> in,
FuncAB<A,java.lang.Object> func)
Map_ :: [A] -> (A->_) -> [] |
|
static
|
map(int numThread,
java.util.Collection<A> in,
FuncAB<A,B> func)
Map :: [A] -> (A->B) -> [B] |
|
static
|
map(int numThread,
java.util.Map<A,B> in,
FuncAB<Tuple<A,B>,Tuple<C,D>> func)
|
|
static
|
map(java.util.List<A> in,
FuncAB<A,B> func)
Map :: [A] -> (A->B) -> [B] |
|
static
|
map(java.util.Map<A,B> in,
FuncAB<Tuple<A,B>,Tuple<C,D>> func)
|
|
static
|
mapValues(java.util.SortedMap<A,B> map,
FuncAB<B,C> func)
Map :: SortedMap A,B -> (B->C) -> SortedMap A,C |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int numThread
Constructor Detail |
---|
public EvParallel()
Method Detail |
---|
public static <A,B,C,D> java.util.Map<C,D> map(java.util.Map<A,B> in, FuncAB<Tuple<A,B>,Tuple<C,D>> func)
public static <A,B,C,D> java.util.Map<C,D> map(int numThread, java.util.Map<A,B> in, FuncAB<Tuple<A,B>,Tuple<C,D>> func)
public static <A,B> java.util.List<B> map(java.util.List<A> in, FuncAB<A,B> func)
public static <A,B> java.util.List<B> map(int numThread, java.util.Collection<A> in, FuncAB<A,B> func)
public static <A> void map_(java.util.Collection<A> in, FuncAB<A,java.lang.Object> func)
public static <A> void map_(int numThread, java.util.Collection<A> in, FuncAB<A,java.lang.Object> func)
public static <A,B,C> java.util.SortedMap<A,C> mapValues(java.util.SortedMap<A,B> map, FuncAB<B,C> func)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |