|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.yellowpage.YellowPage
A YellowPage implementation, which uses the Context package to store
information about actors.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
| Field Summary | |
protected java.util.Map |
entries
a map of entries |
protected YellowPage |
parent
the parent of this yellowPage |
| Constructor Summary | |
protected |
YellowPage()
constructs a new YellowPage |
| Method Summary | |
ActorInterface[] |
findActor(Category category)
finds an actor based on the category |
ActorInterface[] |
findActor(java.lang.String regex)
finds an actor based on the regex |
ActorInterface[] |
findActor(java.lang.String regex,
Category category)
finds an actor based on the regex |
static YellowPageInterface |
getYellowPage(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
resolves the yellowPage |
boolean |
register(ActorInterface actor,
Category category)
registers an actor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Map entries
protected YellowPage parent
| Constructor Detail |
protected YellowPage()
| Method Detail |
public static YellowPageInterface getYellowPage(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
simulator - the simulator
public ActorInterface[] findActor(java.lang.String regex)
YellowPageInterface
findActor in interface YellowPageInterfaceregex - the name of the actor as regular expression
#findActor(java.lang.String)
public ActorInterface[] findActor(java.lang.String regex,
Category category)
YellowPageInterface
findActor in interface YellowPageInterfaceregex - the name of the actor as regular expressioncategory - the category for this actor
#findActor(java.lang.String,
nl.tudelft.simulation.yellowpage.Category)public ActorInterface[] findActor(Category category)
YellowPageInterface
findActor in interface YellowPageInterfacecategory - the category for this actor
YellowPageInterface.findActor(nl.tudelft.simulation.yellowpage.Category)
public boolean register(ActorInterface actor,
Category category)
YellowPageInterface
register in interface YellowPageInterfaceactor - the actorcategory - the category
YellowPageInterface.register(nl.tudelft.simulation.actor.ActorInterface,
nl.tudelft.simulation.yellowpage.Category)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||