|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--anthill.nestor.LocalTrail.Pair
The Pair class is an inner class used to link objects in the hash table in a list.
Field Summary | |
protected AntId |
ant
Identifier of the ant which visited this nest |
protected NestId |
nest
Identifier of the nest from which this nest has arrived |
protected LocalTrail.Pair |
next
Next pair in the linked list |
protected LocalTrail.Pair |
prev
Next pair in the linked list |
protected long |
time
Creation time; used to detect when a link is stale |
Constructor Summary | |
protected |
LocalTrail.Pair(AntId ant,
NestId nest,
LocalTrail.Pair prev)
Initializing constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected AntId ant
protected NestId nest
protected LocalTrail.Pair next
protected LocalTrail.Pair prev
protected long time
Constructor Detail |
protected LocalTrail.Pair(AntId ant, NestId nest, LocalTrail.Pair prev)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |