-
Methods in io.qt.concurrent that return QFuture
Modifier and Type |
Method |
Description |
static <T> QFuture<T> |
QtConcurrent.filtered(Collection<T> sequence,
QtConcurrent.FilteredFunctor<T> filteredFunctor) |
Calls filterFunctor's filtered() method once for each item in sequence and returns a new Sequence of kept items.
|
static <U,
T> QFuture<U> |
QtConcurrent.filteredReduced(Collection<T> sequence,
QtConcurrent.FilteredFunctor<T> filteredFunctor,
QtConcurrent.ReducedFunctor<U,T> reducedFunctor) |
This is an overloaded method provided for convenience.
|
static <U,
T> QFuture<U> |
QtConcurrent.filteredReduced(Collection<T> sequence,
QtConcurrent.FilteredFunctor<T> filteredFunctor,
QtConcurrent.ReducedFunctor<U,T> reducedFunctor,
QtConcurrent.ReduceOption... options) |
Calls filterFunction once for each item in sequence.
|
static <U,
T> QFuture<U> |
QtConcurrent.filteredReduced(Collection<T> sequence,
QtConcurrent.FilteredFunctor<T> filteredFunctor,
QtConcurrent.ReducedFunctor<U,T> reducedFunctor,
QtConcurrent.ReduceOptions options) |
Calls filterFunction 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.
|
static <T> QFuture<T> |
QtConcurrent.run(QThreadPool threadPool,
Callable<T> callable) |
Executes the Callable callable through the QtConcurrent framework.
|
static <T> QFuture<T> |
QtConcurrent.run(Callable<T> callable) |
Executes the Callable callable through the QtConcurrent framework.
|
-