java.lang.Object
io.qt.QtObject
io.qt.multimedia.QMediaTimeRange.Interval
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QMediaTimeRange
QMediaTimeRange::Interval class represents a time interval with integer precision
Java wrapper for Qt class QMediaTimeRange::Interval
-
Constructor Summary
ConstructorDescriptionInterval()
Interval
(long start, long end) Interval
(QMediaTimeRange.Interval other) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
contains
(long time) final long
end()
final boolean
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QMediaTimeRange::Interval)
.final boolean
isNormal()
final QMediaTimeRange.Interval
final long
start()
toString()
Seeoperator<<(QDebug,
QMediaTimeRange::Interval) final QMediaTimeRange.Interval
translated
(long offset) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Interval
public Interval() -
Interval
- Parameters:
other
-
-
Interval
public Interval(long start, long end) - Parameters:
start
-end
-
-
-
Method Details
-
contains
- Parameters:
time
-- Returns:
-
end
- Returns:
-
isNormal
- Returns:
-
normalized
- Returns:
-
equals
- Parameters:
rhs
-- Returns:
-
start
- Returns:
-
translated
- Parameters:
offset
-- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QMediaTimeRange::Interval)
. -
toString
See
operator<<(QDebug,
QMediaTimeRange::Interval) -
clone
Creates and returns a copy of this object.
See
QMediaTimeRange::Interval::
Interval(QMediaTimeRange::Interval)
-