java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QAbstractFuture
io.qt.core.QFuture<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<T>
public final class QFuture<T> extends QAbstractFuture implements Iterable<T>, Cloneable
Represents the result of an asynchronous computation
Java wrapper for Qt class QFuture
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QFuture()
See QFuture::QFuture(QFutureInterface<T> p)
protected
QFuture(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description protected QIterator<T>
begin()
See QFuture::void
cancel()
See QFuture::QFuture<T>
clone()
protected QIterator<T>
end()
See QFuture::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()
See QFuture::boolean
isFinished()
See QFuture::boolean
isPaused()
See QFuture::boolean
isResultReadyAt(int resultIndex)
See QFuture::boolean
isRunning()
See QFuture::boolean
isStarted()
See QFuture::Iterator<T>
iterator()
void
pause()
See QFuture::int
progressMaximum()
See QFuture::int
progressMinimum()
See QFuture::String
progressText()
See QFuture::int
progressValue()
See QFuture::T
result()
See QFuture::T
resultAt(int index)
See QFuture::int
resultCount()
See QFuture::QList<T>
results()
See QFuture::void
resume()
See QFuture::void
setPaused(boolean paused)
See QFuture::void
togglePaused()
See QFuture::void
waitForFinished()
See QFuture::
-
Constructor Details
-
Method Details
-
begin
See QFuture::
-
cancel
See QFuture::
- Specified by:
cancel
in classQAbstractFuture
-
end
See QFuture::
-
isCanceled
See QFuture::
- Specified by:
isCanceled
in classQAbstractFuture
-
isFinished
See QFuture::
- Specified by:
isFinished
in classQAbstractFuture
-
isPaused
See QFuture::
- Specified by:
isPaused
in classQAbstractFuture
-
isResultReadyAt
See QFuture::
-
isRunning
See QFuture::
- Specified by:
isRunning
in classQAbstractFuture
-
isStarted
See QFuture::
- Specified by:
isStarted
in classQAbstractFuture
-
pause
See QFuture::
- Specified by:
pause
in classQAbstractFuture
-
progressMaximum
See QFuture::
- Specified by:
progressMaximum
in classQAbstractFuture
-
progressMinimum
See QFuture::
- Specified by:
progressMinimum
in classQAbstractFuture
-
progressText
See QFuture::
- Specified by:
progressText
in classQAbstractFuture
-
progressValue
See QFuture::
- Specified by:
progressValue
in classQAbstractFuture
-
result
See QFuture::
-
resultAt
See QFuture::
-
resultCount
See QFuture::
- Specified by:
resultCount
in classQAbstractFuture
-
results
See QFuture::
-
resume
See QFuture::
- Specified by:
resume
in classQAbstractFuture
-
setPaused
See QFuture::
- Specified by:
setPaused
in classQAbstractFuture
-
togglePaused
See QFuture::
- Specified by:
togglePaused
in classQAbstractFuture
-
waitForFinished
See QFuture::
- Specified by:
waitForFinished
in classQAbstractFuture
-
iterator
-
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
-
clone
- Specified by:
clone
in classQAbstractFuture
-