public final class JispKey
extends com.coyotegulch.jisp.KeyObject
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
m_Key |
protected static JispKey |
NULL_KEY |
(package private) static long |
serialVersionUID |
| Constructor and Description |
|---|
JispKey() |
JispKey(java.lang.Object keyValue)
Constructor for the JispKey object
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(com.coyotegulch.jisp.KeyObject key)
Compares two Keys
|
java.lang.Object |
getKey()
Return the real key
|
com.coyotegulch.jisp.KeyObject |
makeNullKey()
Composes a null Kewy
|
void |
readExternal(java.io.ObjectInput in)
The object implements the readExternal method to restore its contents
by calling the methods of DataInput for primitive types and readObject
for objects, strings and arrays.
|
void |
writeExternal(java.io.ObjectOutput out)
The object implements the writeExternal method to save its contents
by calling the methods of DataOutput for its primitive values or
calling the writeObject method of ObjectOutput for objects, strings,
and arrays.
|
static final long serialVersionUID
protected java.lang.Object m_Key
protected static JispKey NULL_KEY
public JispKey()
public JispKey(java.lang.Object keyValue)
keyValue - the keypublic int compareTo(com.coyotegulch.jisp.KeyObject key)
compareTo in class com.coyotegulch.jisp.KeyObjectkey - the KeyObject to be comparedpublic com.coyotegulch.jisp.KeyObject makeNullKey()
makeNullKey in class com.coyotegulch.jisp.KeyObjectpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
out - the stream to write the object tojava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
in - the stream to read data from in order to restore the objectjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic java.lang.Object getKey()