|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.util.QSPair
Pair for QS classes.
Pair
Field Summary | |
---|---|
QuickSerializable |
first
|
QuickSerializable |
second
|
Constructor Summary | |
---|---|
QSPair()
Default constructor |
|
QSPair(InputBuffer buffer)
|
|
QSPair(QuickSerializable f,
QuickSerializable s)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
QuickSerializable |
first()
Returns the first element of the pair. |
int |
hashCode()
|
QuickSerializable |
second()
Returns the second element of the pair. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public QuickSerializable first
public QuickSerializable second
Constructor Detail |
public QSPair()
public QSPair(QuickSerializable f, QuickSerializable s)
f
- == first object of the pairs
- == second object of the pairpublic QSPair(InputBuffer buffer) throws QSException
Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
buffer
- the output buffer to add the object topublic final QuickSerializable first()
public final QuickSerializable second()
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |