java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QFutureInterfaceBase
io.qt.core.QFutureInterface<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public final class QFutureInterface<T> extends QFutureInterfaceBase implements Cloneable
Java wrapper for Qt class QFutureInterface
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QFutureInterfaceBase
QFutureInterfaceBase.State
-
Constructor Summary
Constructors Modifier Constructor Description QFutureInterface()
Overloaded constructor forQFutureInterface(io.qt.core.QFutureInterfaceBase.State)
withinitialState = io.qt.core.QFutureInterfaceBase.State.NoState
.QFutureInterface(QFutureInterfaceBase.State initialState)
protected
QFutureInterface(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QFutureInterface<T>
clone()
QFuture<T>
future()
void
reportFinished(T result)
void
reportResult(T result)
Overloaded function for#reportResult(T, int)
withindex = -1
.void
reportResult(T result, int index)
void
reportResults(Collection<T> results)
Overloaded function forreportResults(java.util.Collection, int, int)
void
reportResults(Collection<T> results, int beginIndex)
Overloaded function forreportResults(java.util.Collection, int, int)
withcount = -1
.void
reportResults(Collection<T> results, int beginIndex, int count)
T
result(int index)
QList<T>
results()
Methods inherited from class io.qt.core.QFutureInterfaceBase
cancel, derefT, equals, expectedResultCount, hashCode, isCanceled, isFinished, isPaused, isProgressUpdateNeeded, isResultReadyAt, isRunning, isStarted, isThrottled, mutex, mutex, progressMaximum, progressMinimum, progressText, progressValue, queryState, refT, reportCanceled, reportException, reportFinished, reportResultsReady, reportStarted, resultCount, setContinuation, setExpectedResultCount, setFilterMode, setPaused, setProgressRange, setProgressValue, setProgressValueAndText, setRunnable, setThreadPool, setThrottled, togglePaused, waitForFinished, waitForNextResult, waitForResult, waitForResume
-
Constructor Details
-
QFutureInterface
public QFutureInterface()Overloaded constructor for
QFutureInterface(io.qt.core.QFutureInterfaceBase.State)
withinitialState = io.qt.core.QFutureInterfaceBase.State.NoState
. -
QFutureInterface
-
QFutureInterface
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
reportFinished
-
reportResult
Overloaded function for
#reportResult(T, int)
withindex = -1
. -
reportResult
-
reportResults
Overloaded function for
reportResults(java.util.Collection, int, int)
withcount = -1
. -
reportResults
Overloaded function for
reportResults(java.util.Collection, int, int)
with:
beginIndex = -1
count = -1
-
reportResults
-
result
-
results
-
future
-
clone
- Overrides:
clone
in classQFutureInterfaceBase
-