|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--anthill.nestor.LocalAid
Class LocalAid
is the implementation of AntId
to be used during off-line simulation. Unique identifiers are generated
using a counter.
Constructor Summary | |
LocalAid()
Builds a new local identifier by incrementing the counter. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Check whether this LocalAid is equal to the specified object. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LocalAid()
Method Detail |
public boolean equals(java.lang.Object obj)
LocalAid
is equal to the specified object.equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |