|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.QPair
public class QPair
QPair keeps two generic values. They are public with the names first and second.
Field Summary | |
---|---|
java.lang.Object |
first
First value of the pair. |
java.lang.Object |
second
Second value of the pair. |
Constructor Summary | |
---|---|
QPair(java.lang.Object t,
java.lang.Object s)
Constructs a pair. |
Method Summary | |
---|---|
QPair |
clone()
Returns a copy of this object. |
boolean |
equals(java.lang.Object o)
Returns true if this pair is the same as the other pair. |
java.lang.String |
toString()
Returns a string representation of this pair. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.Object first
public java.lang.Object second
Constructor Detail |
---|
public QPair(java.lang.Object t, java.lang.Object s)
t
- The first parameter.s
- The second parameter.Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
The
- other parameter
public java.lang.String toString()
toString
in class java.lang.Object
public QPair clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |