-
Methods in io.qt.concurrent with parameters of type QtConcurrent.MappedFunctor
Modifier and Type |
Method |
Description |
static <U,
T> List<U> |
QtConcurrent.blockingMapped(Collection<T> sequence,
QtConcurrent.MappedFunctor<U,T> functor) |
Calls function once for each item in sequence and returns a future with each mapped item as a result.
|
static <U,
V,
T> U |
QtConcurrent.blockingMappedReduced(Collection<T> sequence,
QtConcurrent.MappedFunctor<V,T> functor,
QtConcurrent.ReducedFunctor<U,V> reducedFunctor) |
This is an overloaded method provided for convenience.
|
static <U,
V,
T> U |
QtConcurrent.blockingMappedReduced(Collection<T> sequence,
QtConcurrent.MappedFunctor<V,T> functor,
QtConcurrent.ReducedFunctor<U,V> reducedFunctor,
QtConcurrent.ReduceOption... options) |
Calls mapFunction once for each item in sequence.
|
static <U,
V,
T> U |
QtConcurrent.blockingMappedReduced(Collection<T> sequence,
QtConcurrent.MappedFunctor<V,T> functor,
QtConcurrent.ReducedFunctor<U,V> reducedFunctor,
QtConcurrent.ReduceOptions options) |
Calls mapFunction once for each item in sequence.
|
static <U,
T> QFuture<U> |
QtConcurrent.mapped(Collection<T> sequence,
QtConcurrent.MappedFunctor<U,T> functor) |
Calls function once for each item in sequence and returns a future with each mapped item as a result.
|
static <U,
V,
T> QFuture<U> |
QtConcurrent.mappedReduced(Collection<T> sequence,
QtConcurrent.MappedFunctor<V,T> functor,
QtConcurrent.ReducedFunctor<U,V> reducedFunctor) |
This is an overloaded method provided for convenience.
|
static <U,
V,
T> QFuture<U> |
QtConcurrent.mappedReduced(Collection<T> sequence,
QtConcurrent.MappedFunctor<V,T> functor,
QtConcurrent.ReducedFunctor<U,V> reducedFunctor,
QtConcurrent.ReduceOption... options) |
This is an overloaded method provided for convenience.
|
static <U,
V,
T> QFuture<U> |
QtConcurrent.mappedReduced(Collection<T> sequence,
QtConcurrent.MappedFunctor<V,T> functor,
QtConcurrent.ReducedFunctor<U,V> reducedFunctor,
QtConcurrent.ReduceOptions options) |
Calls mapFunction once for each item in sequence.
|