ostore.apps.qtree.impl
Class TreeKey
java.lang.Object
|
+--ostore.apps.qtree.impl.TreeKey
- All Implemented Interfaces:
- Cloneable, Comparable, QuickSerializable
- public class TreeKey
- extends Object
- implements QuickSerializable, Comparable, Cloneable
- Author:
- Jason Lee
guid
public SecureHash guid
epoch
public Epoch epoch
TreeKey
public TreeKey(SecureHash g,
long major,
long minor)
TreeKey
public TreeKey(InputBuffer buffer)
throws QSException
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
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object