java.lang.Object
io.qt.concurrent.QtConcurrent
High-level APIs that make it possible to write multi-threaded programs without using low-level threading primitives
Java wrapper for Qt's namespace QtConcurrent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfaceAn implementation of this interface is given to one of QtConcurrent's filtered() methods.static interfaceAn implemetation of this interface is given one to QtConcurrent's map() methods.static interfaceImplement this interface to perform a mapped operation.static classJava wrapper for Qt class QtConcurrent::MedianDoublestatic interfaceImplement this interface in order to perform a reduce operation.static enumJava wrapper for Qt enum QtConcurrent::ReduceOptionstatic final classQFlags type for enumQtConcurrent.ReduceOptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic final classstatic enumJava wrapper for Qt enum QtConcurrent::ThreadFunctionResult -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidblockingFilter(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor) static <T> io.qt.core.QList<T>blockingFiltered(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor) static <U,T> U blockingFilteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor) static <U,T> U blockingFilteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOption... options) static <U,T> U blockingFilteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOptions options) static <T> voidblockingMap(Collection<T> sequence, QtConcurrent.MapFunctor<T> functor) static <U,T> io.qt.core.QList<U> blockingMapped(Collection<T> sequence, QtConcurrent.MappedFunctor<U, T> functor) static <U,V, T> U blockingMappedReduced(Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor) static <U,V, T> U blockingMappedReduced(Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOption... options) static <U,V, T> U blockingMappedReduced(Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOptions options) static <T> io.qt.core.QFuture<Void>filter(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor) static <T> io.qt.core.QFuture<T>filtered(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor) static <U,T> io.qt.core.QFuture<U> filteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor) static <U,T> io.qt.core.QFuture<U> filteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOption... options) static <U,T> io.qt.core.QFuture<U> filteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOptions options) static <T> io.qt.core.QFuture<Void>map(Collection<T> sequence, QtConcurrent.MapFunctor<T> functor) static <U,T> io.qt.core.QFuture<U> mapped(Collection<T> sequence, QtConcurrent.MappedFunctor<U, T> functor) static <U,V, T> io.qt.core.QFuture<U> mappedReduced(Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor) static <U,V, T> io.qt.core.QFuture<U> mappedReduced(Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOption... options) static <U,V, T> io.qt.core.QFuture<U> mappedReduced(Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOptions options) static <T,A> io.qt.core.QFuture<T> run(QtConcurrent.Callable1<T, A> runnable, A a) static <T,A, B> io.qt.core.QFuture<T> run(QtConcurrent.Callable2<T, A, B> runnable, A a, B b) static <T,A, B, C> io.qt.core.QFuture<T> run(QtConcurrent.Callable3<T, A, B, C> runnable, A a, B b, C c) static <T,A, B, C, D>
io.qt.core.QFuture<T>run(QtConcurrent.Callable4<T, A, B, C, D> runnable, A a, B b, C c, D d) static <T,A, B, C, D, E>
io.qt.core.QFuture<T>run(QtConcurrent.Callable5<T, A, B, C, D, E> runnable, A a, B b, C c, D d, E e) static <A> io.qt.core.QFuture<Void>run(QtConcurrent.Runnable1<A> runnable, A a) static <A,B> io.qt.core.QFuture<Void> run(QtConcurrent.Runnable2<A, B> runnable, A a, B b) static <A,B, C> io.qt.core.QFuture<Void> run(QtConcurrent.Runnable3<A, B, C> runnable, A a, B b, C c) static <A,B, C, D> io.qt.core.QFuture<Void> run(QtConcurrent.Runnable4<A, B, C, D> runnable, A a, B b, C c, D d) static <A,B, C, D, E>
io.qt.core.QFuture<Void>run(QtConcurrent.Runnable5<A, B, C, D, E> runnable, A a, B b, C c, D d, E e) static <T,A> io.qt.core.QFuture<T> run(io.qt.core.QThreadPool threadPool, QtConcurrent.Callable1<T, A> runnable, A a) static <T,A, B> io.qt.core.QFuture<T> run(io.qt.core.QThreadPool threadPool, QtConcurrent.Callable2<T, A, B> runnable, A a, B b) static <T,A, B, C> io.qt.core.QFuture<T> run(io.qt.core.QThreadPool threadPool, QtConcurrent.Callable3<T, A, B, C> runnable, A a, B b, C c) static <T,A, B, C, D>
io.qt.core.QFuture<T>run(io.qt.core.QThreadPool threadPool, QtConcurrent.Callable4<T, A, B, C, D> runnable, A a, B b, C c, D d) static <T,A, B, C, D, E>
io.qt.core.QFuture<T>run(io.qt.core.QThreadPool threadPool, QtConcurrent.Callable5<T, A, B, C, D, E> runnable, A a, B b, C c, D d, E e) static <A> io.qt.core.QFuture<Void>run(io.qt.core.QThreadPool threadPool, QtConcurrent.Runnable1<A> runnable, A a) static <A,B> io.qt.core.QFuture<Void> run(io.qt.core.QThreadPool threadPool, QtConcurrent.Runnable2<A, B> runnable, A a, B b) static <A,B, C> io.qt.core.QFuture<Void> run(io.qt.core.QThreadPool threadPool, QtConcurrent.Runnable3<A, B, C> runnable, A a, B b, C c) static <A,B, C, D> io.qt.core.QFuture<Void> run(io.qt.core.QThreadPool threadPool, QtConcurrent.Runnable4<A, B, C, D> runnable, A a, B b, C c, D d) static <A,B, C, D, E>
io.qt.core.QFuture<Void>run(io.qt.core.QThreadPool threadPool, QtConcurrent.Runnable5<A, B, C, D, E> runnable, A a, B b, C c, D d, E e) static io.qt.core.QFuture<Void>static <T> io.qt.core.QFuture<T>static io.qt.core.QFuture<Void>static <T> io.qt.core.QFuture<T>static <T> QtConcurrent.ThreadEngineStarter<T>startFiltered(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor) static <U,T> QtConcurrent.ThreadEngineStarter<U> startFilteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOption... options) static <U,T> QtConcurrent.ThreadEngineStarter<U> startFilteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOptions options) static <T> QtConcurrent.ThreadEngineStarter<Void>startMap(Collection<T> sequence, QtConcurrent.MapFunctor<T> functor) static <U,T> QtConcurrent.ThreadEngineStarter<U> startMapped(Collection<T> sequence, QtConcurrent.MappedFunctor<U, T> functor) static <U,V, T> QtConcurrent.ThreadEngineStarter<U> startMappedReduced(Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOption... options) static <U,V, T> QtConcurrent.ThreadEngineStarter<U> startMappedReduced(Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOptions options)
-
Method Details
-
map
@QtUninvokable public static <T> io.qt.core.QFuture<Void> map(Collection<T> sequence, QtConcurrent.MapFunctor<T> functor) -
blockingMap
@QtUninvokable public static <T> void blockingMap(Collection<T> sequence, QtConcurrent.MapFunctor<T> functor) -
mapped
@QtUninvokable public static <U,T> io.qt.core.QFuture<U> mapped(Collection<T> sequence, QtConcurrent.MappedFunctor<U, T> functor) -
blockingMapped
@QtUninvokable public static <U,T> io.qt.core.QList<U> blockingMapped(Collection<T> sequence, QtConcurrent.MappedFunctor<U, T> functor) -
mappedReduced
@QtUninvokable public static <U,V, io.qt.core.QFuture<U> mappedReducedT> (Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor) -
mappedReduced
@QtUninvokable public static <U,V, io.qt.core.QFuture<U> mappedReducedT> (Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOption... options) -
mappedReduced
@QtUninvokable public static <U,V, io.qt.core.QFuture<U> mappedReducedT> (Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOptions options) -
blockingMappedReduced
@QtUninvokable public static <U,V, U blockingMappedReducedT> (Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor) -
blockingMappedReduced
@QtUninvokable public static <U,V, U blockingMappedReducedT> (Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOption... options) -
blockingMappedReduced
@QtUninvokable public static <U,V, U blockingMappedReducedT> (Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOptions options) -
filter
@QtUninvokable public static <T> io.qt.core.QFuture<Void> filter(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor) -
blockingFilter
@QtUninvokable public static <T> void blockingFilter(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor) -
filtered
@QtUninvokable public static <T> io.qt.core.QFuture<T> filtered(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor) -
blockingFiltered
@QtUninvokable public static <T> io.qt.core.QList<T> blockingFiltered(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor) -
filteredReduced
@QtUninvokable public static <U,T> io.qt.core.QFuture<U> filteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor) -
filteredReduced
@QtUninvokable public static <U,T> io.qt.core.QFuture<U> filteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOption... options) -
filteredReduced
@QtUninvokable public static <U,T> io.qt.core.QFuture<U> filteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOptions options) -
blockingFilteredReduced
@QtUninvokable public static <U,T> U blockingFilteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor) -
blockingFilteredReduced
@QtUninvokable public static <U,T> U blockingFilteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOption... options) -
blockingFilteredReduced
@QtUninvokable public static <U,T> U blockingFilteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOptions options) -
run
-
run
@QtUninvokable public static <T> io.qt.core.QFuture<T> run(io.qt.core.QThreadPool threadPool, Callable<T> callable) -
run
-
run
-
run
-
run
public static <A> io.qt.core.QFuture<Void> run(io.qt.core.QThreadPool threadPool, QtConcurrent.Runnable1<A> runnable, A a) -
run
-
run
public static <A,B> io.qt.core.QFuture<Void> run(io.qt.core.QThreadPool threadPool, QtConcurrent.Runnable2<A, B> runnable, A a, B b) -
run
public static <A,B, io.qt.core.QFuture<Void> runC> (QtConcurrent.Runnable3<A, B, C> runnable, A a, B b, C c) -
run
public static <A,B, io.qt.core.QFuture<Void> runC> (io.qt.core.QThreadPool threadPool, QtConcurrent.Runnable3<A, B, C> runnable, A a, B b, C c) -
run
public static <A,B, io.qt.core.QFuture<Void> runC, D> (QtConcurrent.Runnable4<A, B, C, D> runnable, A a, B b, C c, D d) -
run
public static <A,B, io.qt.core.QFuture<Void> runC, D> (io.qt.core.QThreadPool threadPool, QtConcurrent.Runnable4<A, B, C, D> runnable, A a, B b, C c, D d) -
run
public static <A,B, io.qt.core.QFuture<Void> runC, D, E> (QtConcurrent.Runnable5<A, B, C, D, E> runnable, A a, B b, C c, D d, E e) -
run
public static <A,B, io.qt.core.QFuture<Void> runC, D, E> (io.qt.core.QThreadPool threadPool, QtConcurrent.Runnable5<A, B, C, D, E> runnable, A a, B b, C c, D d, E e) -
run
-
run
public static <T,A> io.qt.core.QFuture<T> run(io.qt.core.QThreadPool threadPool, QtConcurrent.Callable1<T, A> runnable, A a) -
run
-
run
public static <T,A, io.qt.core.QFuture<T> runB> (io.qt.core.QThreadPool threadPool, QtConcurrent.Callable2<T, A, B> runnable, A a, B b) -
run
public static <T,A, io.qt.core.QFuture<T> runB, C> (QtConcurrent.Callable3<T, A, B, C> runnable, A a, B b, C c) -
run
public static <T,A, io.qt.core.QFuture<T> runB, C> (io.qt.core.QThreadPool threadPool, QtConcurrent.Callable3<T, A, B, C> runnable, A a, B b, C c) -
run
public static <T,A, io.qt.core.QFuture<T> runB, C, D> (QtConcurrent.Callable4<T, A, B, C, D> runnable, A a, B b, C c, D d) -
run
public static <T,A, io.qt.core.QFuture<T> runB, C, D> (io.qt.core.QThreadPool threadPool, QtConcurrent.Callable4<T, A, B, C, D> runnable, A a, B b, C c, D d) -
run
public static <T,A, io.qt.core.QFuture<T> runB, C, D, E> (QtConcurrent.Callable5<T, A, B, C, D, E> runnable, A a, B b, C c, D d, E e) -
run
public static <T,A, io.qt.core.QFuture<T> runB, C, D, E> (io.qt.core.QThreadPool threadPool, QtConcurrent.Callable5<T, A, B, C, D, E> runnable, A a, B b, C c, D d, E e) -
startMap
public static <T> QtConcurrent.ThreadEngineStarter<Void> startMap(Collection<T> sequence, QtConcurrent.MapFunctor<T> functor) -
startMapped
@QtUninvokable public static <U,T> QtConcurrent.ThreadEngineStarter<U> startMapped(Collection<T> sequence, QtConcurrent.MappedFunctor<U, T> functor) -
startMappedReduced
@QtUninvokable public static <U,V, QtConcurrent.ThreadEngineStarter<U> startMappedReducedT> (Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOptions options) -
startMappedReduced
@QtUninvokable public static <U,V, QtConcurrent.ThreadEngineStarter<U> startMappedReducedT> (Collection<T> sequence, QtConcurrent.MappedFunctor<V, T> functor, QtConcurrent.ReduceFunctor<U, V> reduceFunctor, QtConcurrent.ReduceOption... options) -
startFilteredReduced
@QtUninvokable public static <U,T> QtConcurrent.ThreadEngineStarter<U> startFilteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOption... options) -
startFilteredReduced
@QtUninvokable public static <U,T> QtConcurrent.ThreadEngineStarter<U> startFilteredReduced(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor, QtConcurrent.ReduceFunctor<U, T> reduceFunctor, QtConcurrent.ReduceOptions options) -
startFiltered
@QtUninvokable public static <T> QtConcurrent.ThreadEngineStarter<T> startFiltered(Collection<T> sequence, QtConcurrent.FilteredFunctor<T> filteredFunctor)
-