ostore.dataobj
Class LongKey
java.lang.Object
|
+--ostore.util.QSLong
|
+--ostore.dataobj.LongKey
- All Implemented Interfaces:
- BtreeKey, Comparable, QuickSerializable
- public class LongKey
- extends QSLong
- implements BtreeKey
- Version:
- $Id: LongKey.java,v 1.14 2002/07/25 06:03:19 eaton Exp $
- Author:
- Patrick R. Eaton
LongKey
public LongKey()
LongKey
public LongKey(long l)
LongKey
public LongKey(InputBuffer buffer)
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer.
- Specified by:
serialize in interface QuickSerializable- Overrides:
serialize in class QSLong
- Parameters:
buffer - the output buffer to add the object to
serializedSize
public int serializedSize()
- Specified by:
serializedSize in interface BtreeKey
lessThan
public boolean lessThan(BtreeKey other_key)
- Specified by:
lessThan in interface BtreeKey
lessThanEqual
public boolean lessThanEqual(BtreeKey other_key)
- Specified by:
lessThanEqual in interface BtreeKey
greaterThan
public boolean greaterThan(BtreeKey other_key)
- Specified by:
greaterThan in interface BtreeKey
greaterThanEqual
public boolean greaterThanEqual(BtreeKey other_key)
- Specified by:
greaterThanEqual in interface BtreeKey
equals
public boolean equals(BtreeKey other_key)
- Specified by:
equals in interface BtreeKey
compareTo
public int compareTo(Object other)
throws ClassCastException
- Specified by:
compareTo in interface Comparable
ClassCastException
toString
public String toString()
- Overrides:
toString in class QSLong