|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.aglet.AgletID
The AgletID class represents the unique identifier given the aglet.
| Field Summary | |
private byte[] |
id
byte array containing id information used in the system. |
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
private |
AgletID()
|
|
AgletID(byte[] b)
Constructs an aglet identifier with given byte array. |
|
AgletID(java.lang.String rep)
Constructs an aglet identifier with a given string. |
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares two aglet identifiers. |
int |
hashCode()
Returns an integer suitable for hash table indexing. |
byte[] |
toByteArray()
Returns byte array representation of the id. |
java.lang.String |
toString()
Returns a human readable form of the aglet identifier. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final long serialVersionUID
private byte[] id
| Constructor Detail |
private AgletID()
public AgletID(byte[] b)
public AgletID(java.lang.String rep)
| Method Detail |
public boolean equals(java.lang.Object obj)
obj - the Aglet to be compared with.
public int hashCode()
public byte[] toByteArray()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||