ostore.util
Class QSBigInteger

java.lang.Object
  |
  +--ostore.util.QSBigInteger
All Implemented Interfaces:
QuickSerializable

public class QSBigInteger
extends Object
implements QuickSerializable

A quick serializable big integer.

Version:
$Id: QSBigInteger.java,v 1.1 2003/03/23 20:55:25 srhea Exp $
Author:
Sean C. Rhea

Field Summary
 BigInteger i
           
 
Constructor Summary
QSBigInteger(BigInteger i)
           
QSBigInteger(InputBuffer buffer)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 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

i

public BigInteger i
Constructor Detail

QSBigInteger

public QSBigInteger(BigInteger i)

QSBigInteger

public QSBigInteger(InputBuffer buffer)
             throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.

Specified by:
serialize in interface QuickSerializable
Parameters:
buffer - the output buffer to add the object to

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object