java.lang.Object
io.qt.QtObject
io.qt.qml.QJSPrimitiveValue
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QJSPrimitiveValue>
Operates on primitive types in JavaScript semantics
Java wrapper for Qt class QJSPrimitiveValue
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQJSPrimitiveValue
(boolean value) QJSPrimitiveValue
(double value) QJSPrimitiveValue
(int value) QJSPrimitiveValue
(String string) QJSPrimitiveValue
(Object variant) -
Method Summary
Modifier and TypeMethodDescriptionfinal QJSPrimitiveValue
added
(QJSPrimitiveValue rhs) Deprecated.clone()
Creates and returns a copy of this object.int
compareTo
(QJSPrimitiveValue other) final QJSPrimitiveValue
dec()
SeeQJSPrimitiveValue::
operator--() final QJSPrimitiveValue
div
(QJSPrimitiveValue rhs) final QJSPrimitiveValue
divided
(QJSPrimitiveValue rhs) Deprecated.Usediv(io.qt.qml.QJSPrimitiveValue)
instead.final boolean
equals
(QJSPrimitiveValue other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QJSPrimitiveValue)
.final QJSPrimitiveValue
inc()
SeeQJSPrimitiveValue::
operator++() final QJSPrimitiveValue
minus
(QJSPrimitiveValue rhs) final QJSPrimitiveValue
modulo
(QJSPrimitiveValue rhs) Deprecated.Userem(io.qt.qml.QJSPrimitiveValue)
instead.final QJSPrimitiveValue
Deprecated.Usetimes(io.qt.qml.QJSPrimitiveValue)
instead.final QJSPrimitiveValue
plus
(QJSPrimitiveValue rhs) final QJSPrimitiveValue
rem
(QJSPrimitiveValue rhs) Seeoperator%(QJSPrimitiveValue,
QJSPrimitiveValue) final boolean
strictlyEquals
(QJSPrimitiveValue other) final QJSPrimitiveValue
Deprecated.Useminus(io.qt.qml.QJSPrimitiveValue)
instead.final QJSPrimitiveValue
times
(QJSPrimitiveValue rhs) final boolean
final double
toDouble()
final int
final String
toString()
final Object
SeeQJSPrimitiveValue::
toVariant()const final QJSPrimitiveValue.Type
type()
final QJSPrimitiveValue
final QJSPrimitiveValue
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QJSPrimitiveValue
public QJSPrimitiveValue() -
QJSPrimitiveValue
-
QJSPrimitiveValue
public QJSPrimitiveValue(boolean value) -
QJSPrimitiveValue
-
QJSPrimitiveValue
public QJSPrimitiveValue(double value) -
QJSPrimitiveValue
public QJSPrimitiveValue(int value)
-
-
Method Details
-
equals
-
modulo
Deprecated.Userem(io.qt.qml.QJSPrimitiveValue)
instead. -
rem
See
operator%(QJSPrimitiveValue,
QJSPrimitiveValue) -
multiplied
Deprecated.Usetimes(io.qt.qml.QJSPrimitiveValue)
instead. -
times
-
unaryPlus
-
added
Deprecated.Useplus(io.qt.qml.QJSPrimitiveValue)
instead. -
plus
-
inc
See
QJSPrimitiveValue::
operator++() -
unaryMinus
-
substracted
Deprecated.Useminus(io.qt.qml.QJSPrimitiveValue)
instead. -
minus
-
dec
See
QJSPrimitiveValue::
operator--() -
divided
Deprecated.Usediv(io.qt.qml.QJSPrimitiveValue)
instead. -
div
-
strictlyEquals
-
toBoolean
-
toDouble
-
toInteger
-
toString
-
toVariant
See
QJSPrimitiveValue::
toVariant()const -
type
-
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QJSPrimitiveValue>
-
hashCode
Returns the objects's hash code computed byqHash(QJSPrimitiveValue)
. -
clone
Creates and returns a copy of this object.
-
plus(io.qt.qml.QJSPrimitiveValue)
instead.