com.coyotegulch.jisp
public class LongKey extends KeyObject
| Constructor Summary | |
|---|---|
| LongKey(long key_value)
Creates a new LongKey with a specific value.
| |
| LongKey()
Creates a blank LongKey (value = 0). | |
| Method Summary | |
|---|---|
| int | compareTo(KeyObject key)
Compares the invoking LongKey to key, returning one of the
KEY_* constants based on the relationship of the two keys.
|
| int | hashCode()
Returns a hash code value for the object, which is, in effect, the
the value of the key.
|
| long | longValue()
Returns the long value of a LongKey.
|
| KeyObject | makeNullKey()
Returns a "null" (i.e., blank) LongKey, to be used as a space-holder in certain kinds of
ObjectIndexes. |
| void | readExternal(ObjectInput in)LongKey implements the readExternal method to restore its contents. |
| String | toString()
Returns the String representation of a LongKey.
|
| void | writeExternal(ObjectOutput out)LongKey implements the writeExternal method to save its
contents. |
LongKey with a specific value.
Parameters: keyValue value of the newly-created key.
LongKey (value = 0).LongKey to key, returning one of the
KEY_* constants based on the relationship of the two keys.
Parameters: key The LongKey value to be compared against the invoking key.
Returns: One of the KEY_* constants based on the relationship of the two keys.
Returns: a hash code value for this object.
See Also: java.lang.Object HashIndex
long value of a LongKey.
Returns: The long value of a LongKey.
LongKey, to be used as a space-holder in certain kinds of
ObjectIndexes. The "null" value is 0xFFFFFFFFFFFFFFFF (all ones).
Returns: A "null" (i.e., blank) LongKey constant.
See Also: BTreeIndex
LongKey implements the readExternal method to restore its contents.String representation of a LongKey.
Returns: The String representation of a LongKey.
LongKey implements the writeExternal method to save its
contents.