|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.XRTIAttributeHandle
Type-safe handle for an attribute. Generally these are created by the RTI and passed to the user.
| Field Summary | |
private long |
identifier
The attribute identifier. |
| Constructor Summary | |
protected |
XRTIAttributeHandle(long pIdentifier)
Constructor. |
| Method Summary | |
void |
encode(byte[] buffer,
int offset)
Encodes this attribute handle, placing the result into the specified array. |
int |
encodedLength()
Returns the encoded length of this attribute handle. |
boolean |
equals(java.lang.Object otherAttributeHandle)
Checks this attribute handle for equality with another. |
protected long |
getIdentifier()
Returns this handle's unique identifier. |
int |
hashCode()
Computes and returns the hash code of this attribute handle. |
java.lang.String |
toString()
Returns a string representation of this attribute handle. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
private long identifier
| Constructor Detail |
protected XRTIAttributeHandle(long pIdentifier)
pIdentifier - the attribute identifier| Method Detail |
protected long getIdentifier()
public boolean equals(java.lang.Object otherAttributeHandle)
equals in interface AttributeHandleotherAttributeHandle - the other attribute handle to compare this
to
true if this refers to the same attribute as the
other handle, false otherwisepublic int hashCode()
hashCode in interface AttributeHandlepublic int encodedLength()
encodedLength in interface AttributeHandle
public void encode(byte[] buffer,
int offset)
encode in interface AttributeHandlebuffer - the buffer in which to place the encoded handleoffset - the buffer offset at which to store the datapublic java.lang.String toString()
toString in interface AttributeHandle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||