java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QFuture<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<T>
public class QFuture<T> extends QtObject implements Cloneable, Iterable<T>
Represents the result of an asynchronous computation
Java wrapper for Qt class QFuture
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
QFuture(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
cancel()
QFuture<T>
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
isCanceled()
boolean
isFinished()
boolean
isPaused()
boolean
isResultReadyAt(int resultIndex)
boolean
isRunning()
boolean
isStarted()
QFutureIterator<T>
iterator()
void
pause()
int
progressMaximum()
int
progressMinimum()
String
progressText()
int
progressValue()
T
result()
T
resultAt(int index)
int
resultCount()
List<T>
results()
void
resume()
void
setPaused(boolean paused)
void
togglePaused()
void
waitForFinished()
-
Constructor Details
-
QFuture
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
cancel
-
isCanceled
-
isFinished
-
isPaused
-
isResultReadyAt
-
isRunning
-
isStarted
-
pause
-
progressMaximum
-
progressMinimum
-
progressText
-
progressValue
-
result
-
resultAt
-
resultCount
-
results
-
resume
-
setPaused
-
togglePaused
-
waitForFinished
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
iterator
-
clone
-