|
Servertec Persistent Object Store 1.4.1 09/04/2005 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstec.pos.IndexObject
public class IndexObject
Convenience wrapper class for object stored in Indexes as key or value.
Field Summary | |
---|---|
static int |
EQUAL_TO
Used when the two objects being compared are the same. |
static int |
GREATER_THAN
Used when the current object is greater than the specified object. |
static int |
LESS_THAN
Used when the current object is less than the specified object. |
Constructor Summary | |
---|---|
IndexObject()
Default constructor used to construct a new null object. |
|
IndexObject(java.lang.Object object)
Constracts a new IndexObject for the specified object. |
Method Summary | |
---|---|
int |
compareTo(IndexObject index_object)
Returns whether the current IndexObject equals the specified IndexObject or which IndexObject is greater than and which IndexObject is less than. |
int |
compareTo(java.lang.Object object)
Returns whether the current IndexObject equals the specified IndexObject or which IndexObject is greater than and which IndexObject is less than. |
boolean |
equals(IndexObject index_object)
Returns whether the current object is the same as the specified index object. |
boolean |
equals(java.lang.Object object)
Returns whether the current object is the same as the specified object. |
java.lang.Object |
getObject()
Returns the current object. |
void |
setObject(java.lang.Object object)
Sets the current object to the specified object. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EQUAL_TO
public static final int GREATER_THAN
public static final int LESS_THAN
Constructor Detail |
---|
public IndexObject()
public IndexObject(java.lang.Object object)
object
- the object to wrap.Method Detail |
---|
public java.lang.Object getObject()
public void setObject(java.lang.Object object)
object
- the object to replace the current object.public boolean equals(java.lang.Object object) throws java.lang.ClassCastException, java.lang.RuntimeException
equals
in class java.lang.Object
object
- the object to compare the current object against.
ClassCastExeption
- if the specified object is not an instance of IndexObject.
java.lang.RuntimeException
- if any other errors occur while comparing the two objects.
java.lang.ClassCastException
public boolean equals(IndexObject index_object) throws java.lang.ClassCastException, java.lang.RuntimeException
index_object
- the object to compare the current object against.
ClassCastExeption
- if the specified object is not an instance of IndexObject.
java.lang.RuntimeException
- if any other errors occur while comparing the two objects.
java.lang.ClassCastException
public int compareTo(java.lang.Object object) throws java.lang.ClassCastException, java.lang.RuntimeException
object
- the IndexObject to compare.
ClassCastExeption
- if the object specified is not an IndexObject.
java.lang.RuntimeException
- if any other errors occur while comparing the two objects.
java.lang.ClassCastException
public int compareTo(IndexObject index_object) throws java.lang.ClassCastException, java.lang.RuntimeException
index_object
- the IndexObject to compare.
ClassCastExeption
- if the specified object is not an instance of IndexObject.
java.lang.RuntimeException
- if any other errors occur while comparing the two objects.
java.lang.ClassCastException
|
Servertec Persistent Object Store 1.4.1 09/04/2005 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001-2005 Servertec. All rights reserved.