java.lang.Object
io.qt.core.QPair<T,S>
- All Implemented Interfaces:
Cloneable
QPair keeps two generic values accessible by
first
and second
.-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
first
First value of the pair. -
second
Second value of the pair.
-
-
Constructor Details
-
QPair
Constructs a pair.- Parameters:
t
- The first parameter.s
- The second parameter.
-
-
Method Details
-
equals
Returns true if this pair is the same as the other pair. If any of the first or second members are null the result is false regardless. -
hashCode
-
toString
Returns a string representation of this pair. -
clone
Returns a copy of this object.
-