|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectlime.LimeTupleID
Defines the identifier of Tuple objects. The (globally unique)
identifier is generated when the tuple is inserted into the tuple space.
| Field Summary | |
(package private) LimeServerID |
creationHost
The identifier is composed of two parts: the address of the host where the tuple has been inserted and a progressive number assigned on that host. |
(package private) long |
n
|
| Constructor Summary | |
LimeTupleID(long n)
Construct a new tuple identifier...guaranteed to be unique. |
|
| Method Summary | |
boolean |
equals(java.lang.Object id)
Tests two tuple identifiers for equality. |
int |
hashCode()
|
java.lang.String |
toString()
Returns a concise textual description for this object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
final LimeServerID creationHost
final long n
| Constructor Detail |
public LimeTupleID(long n)
| Method Detail |
public boolean equals(java.lang.Object id)
id - the tuple id to be compared with.
true if the two identifiers are the same,
false otherwise.public int hashCode()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||