ostore.util
Class QSLong

java.lang.Object
  |
  +--ostore.util.QSLong
All Implemented Interfaces:
QuickSerializable
Direct Known Subclasses:
LongKey

public class QSLong
extends Object
implements QuickSerializable

Version:
$Id: QSLong.java,v 1.14 2002/07/29 18:48:54 geels Exp $
Author:
Patrick R. Eaton

Constructor Summary
QSLong()
           
QSLong(InputBuffer buffer)
           
QSLong(long l)
           
QSLong(Long l)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object other)
           
 int hashCode()
           
 long longValue()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QSLong

public QSLong()

QSLong

public QSLong(long l)

QSLong

public QSLong(Long l)

QSLong

public QSLong(InputBuffer buffer)
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

longValue

public long longValue()

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
CloneNotSupportedException

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object