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 dd)
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()
boolean
reportFinished(T result)
boolean
reportResult(T result)
Overloaded function for#reportResult(T, int)
withindex = -1
.boolean
reportResult(T result, int index)
boolean
reportResults(Collection<T> results)
Overloaded function forreportResults(java.util.Collection, int, int)
boolean
reportResults(Collection<T> results, int beginIndex)
Overloaded function forreportResults(java.util.Collection, int, int)
withcount = -1
.boolean
reportResults(Collection<T> results, int beginIndex, int count)
T
result(int index)
QList<T>
results()
T
takeResult()
Methods inherited from class io.qt.core.QFutureInterfaceBase
cancel, derefT, equals, expectedResultCount, hashCode, isCanceled, isFinished, isPaused, isProgressUpdateNeeded, isResultReadyAt, isRunning, isRunningOrPending, isStarted, isSuspended, isSuspending, isThrottled, isValid, launchAsync, loadState, mutex, progressMaximum, progressMinimum, progressText, progressValue, queryState, refT, reportCanceled, reportException, reportResultsReady, reportStarted, reportSuspended, reset, resultCount, runContinuation, setContinuation, setExpectedResultCount, setFilterMode, setLaunchAsync, setPaused, setProgressRange, setProgressValue, setProgressValueAndText, setRunnable, setSuspended, setThreadPool, setThrottled, suspendIfRequested, swap, threadPool, togglePaused, toggleSuspended, 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
-
QFutureInterface
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
reportFinished
- Overrides:
reportFinished
in classQFutureInterfaceBase
-
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
@QtUninvokable public final boolean reportResults(Collection<T> results, int beginIndex, int count) -
result
-
results
-
takeResult
-
future
-
reportFinished
-
clone
- Overrides:
clone
in classQFutureInterfaceBase
-