java.lang.Object
io.qt.QtObject
io.qt.core.QElapsedTimer
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QElapsedTimer>
Fast way to calculate elapsed times
Java wrapper for Qt class QElapsedTimer
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QElapsedTimer.ClockType
clone()
Creates and returns a copy of this object.int
compareTo
(QElapsedTimer other) final long
elapsed()
final boolean
equals
(QElapsedTimer other) boolean
final boolean
hasExpired
(long timeout) int
hashCode()
Returns the objects's hash code computed byqHash(QElapsedTimer)
.final void
static boolean
final boolean
isValid()
final long
final long
msecsTo
(QElapsedTimer other) final long
final long
restart()
final long
secsTo
(QElapsedTimer other) final void
start()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QElapsedTimer
public QElapsedTimer() -
QElapsedTimer
-
-
Method Details
-
elapsed
-
hasExpired
-
invalidate
-
isValid
-
msecsSinceReference
-
msecsTo
-
nsecsElapsed
-
equals
-
restart
-
secsTo
-
start
-
clockType
-
isMonotonic
public static boolean isMonotonic() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QElapsedTimer>
-
hashCode
Returns the objects's hash code computed byqHash(QElapsedTimer)
. -
clone
Creates and returns a copy of this object.
-