|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.XRTIObjectInstanceHandle
Type-safe handle for an object instance. Generally these are created by the run-time infrastructure and passed to the user.
| Constructor Summary | |
protected |
XRTIObjectInstanceHandle(long pIdentifier)
Constructor. |
| Method Summary | |
void |
encode(byte[] buffer,
int offset)
Encodes this object instance handle, placing the result into the specified buffer. |
int |
encodedLength()
Returns the encoded length of this object instance handle. |
boolean |
equals(java.lang.Object otherObjectInstanceHandle)
Checks this object instance handle for equality with another. |
protected long |
getIdentifier()
Returns this handle's unique identifier. |
int |
hashCode()
Computes and returns a hash code corresponding to this object instance handle. |
java.lang.String |
toString()
Returns a string representation of this object instance handle. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected XRTIObjectInstanceHandle(long pIdentifier)
pIdentifier - the object instance identifier| Method Detail |
protected long getIdentifier()
public boolean equals(java.lang.Object otherObjectInstanceHandle)
equals in interface ObjectInstanceHandleotherObjectInstanceHandle - the other object instance handle
true if the two handles refer to the same
object instance, false otherwisepublic int hashCode()
hashCode in interface ObjectInstanceHandlepublic int encodedLength()
encodedLength in interface ObjectInstanceHandle
public void encode(byte[] buffer,
int offset)
encode in interface ObjectInstanceHandlebuffer - the buffer in which to place the encoded valueoffset - the offset within the buffer at which to store the
valuepublic java.lang.String toString()
toString in interface ObjectInstanceHandle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||