agentland.drug
Class BasicFilter
java.lang.Object
|
+--agentland.drug.Filter
|
+--agentland.drug.BasicFilter
- public class BasicFilter
- extends Filter
pass this filter along when requesting a drug. If you create this filter with
public BasicFilter(AgentID dFrom, AgentID dTo)
it will make sure that the drug you get, can be connected to dTo and that
dFrom can connect to it. Either of both of dFrom and dTo can be set to null
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BasicFilter
public BasicFilter()
BasicFilter
public BasicFilter(AgentID dFrom)
- I am keeping this one here strictly to maintain compatibility with
earlier written things
BasicFilter
public BasicFilter(AgentID dFrom,
AgentID dTo)
test
public boolean test(Drug d)
- Overrides:
- test in class Filter
testConnectivity
protected boolean testConnectivity(Drug d)