|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--random.RandomAntFactory
Constructor Summary | |
RandomAntFactory()
|
Method Summary | |
void |
clear()
Restores the object to its initial state. |
Ant[] |
getAnts(RequestId rid,
java.lang.Object request,
NestId requestor)
Returns a set of ants for a query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RandomAntFactory()
Method Detail |
public void clear()
clear
in interface Clearable
public Ant[] getAnts(RequestId rid, java.lang.Object request, NestId requestor)
getAnts
in interface AntFactory
anthill.AntFactory
request
- the object containing the request to be satisfied
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |