|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.coyotegulch.jisp.KeyObject org.apache.excalibur.store.impl.JispKey
Wrapper class for Keys to be compatible with the Jisp KeyObject.
Field Summary | |
protected java.lang.Object |
m_Key
|
protected static JispKey |
NULL_KEY
|
Fields inherited from class com.coyotegulch.jisp.KeyObject |
KEY_EQUAL, KEY_ERROR, KEY_LESS, KEY_MORE |
Constructor Summary | |
JispKey()
|
|
JispKey(java.lang.Object keyValue)
Constructor for the JispKey object |
Method Summary | |
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. |
Methods inherited from class com.coyotegulch.jisp.KeyObject |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.Object m_Key
protected static JispKey NULL_KEY
Constructor Detail |
public JispKey()
public JispKey(java.lang.Object keyValue)
keyValue
- the keyMethod Detail |
public int compareTo(com.coyotegulch.jisp.KeyObject key)
key
- the KeyObject to be compared
public com.coyotegulch.jisp.KeyObject makeNullKey()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
out
- the stream to write the object to
java.io.IOException
public 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 object
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.Object getKey()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |