-
Methods in io.qt.concurrent with parameters of type QtConcurrent.ReduceOption
Modifier and Type |
Method |
Description |
static <U,
T> U |
QtConcurrent.blockingFilteredReduced(QThreadPool threadPool,
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> U |
QtConcurrent.blockingFilteredReduced(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,
V,
T> U |
QtConcurrent.blockingMappedReduced(QThreadPool threadPool,
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.ReduceOption... options) |
Calls mapFunction once for each item in sequence.
|
QtConcurrent.ReduceOptions |
QtConcurrent.ReduceOption.combined(QtConcurrent.ReduceOption e) |
Combines this entry with other enum entry.
|
QtConcurrent.ReduceOptions |
QtConcurrent.ReduceOptions.combined(QtConcurrent.ReduceOption e) |
Combines this flags with enum entry.
|
static <U,
T> QFuture<U> |
QtConcurrent.filteredReduced(QThreadPool threadPool,
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.ReduceOption... options) |
Calls filterFunction once for each item in sequence.
|
static QtConcurrent.ReduceOptions |
QtConcurrent.ReduceOption.flags(QtConcurrent.ReduceOption... values) |
|
static <U,
V,
T> QFuture<U> |
QtConcurrent.mappedReduced(QThreadPool threadPool,
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.ReduceOption... options) |
This is an overloaded method provided for convenience.
|
QtConcurrent.ReduceOptions |
QtConcurrent.ReduceOptions.setFlag(QtConcurrent.ReduceOption e) |
Sets the flag e
|
QtConcurrent.ReduceOptions |
QtConcurrent.ReduceOptions.setFlag(QtConcurrent.ReduceOption e,
boolean on) |
Sets or clears the flag flag
|