|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.blackbox.shell.ObserverPatternImpl
org.blackbox.domains.List
public class List
Field Summary |
---|
Fields inherited from class org.blackbox.shell.ObserverPatternImpl |
---|
curEvent |
Constructor Summary | |
---|---|
List()
|
|
List(java.lang.String n)
|
Method Summary | |
---|---|
void |
assertHypothesis(Hypothesis h)
Assert a new hypothesis in this domain. |
Blackboard |
blackboard()
Return the name of this domain. |
int |
compareTo(java.lang.Object o)
|
int |
countHypothesis()
Count the number of hypothesis in thsi domain. |
java.lang.String |
domainName()
Return the name of this domain. |
java.util.Iterator |
iterator()
Hypothesis iterator. |
void |
retractHypothesis(Hypothesis h)
Retract an hypothesis in this domain. |
void |
setBlackboard(Blackboard bb)
Set the name of this domain. |
void |
setDomainName(java.lang.String name)
Set the name of this domain. |
java.lang.String |
toString()
|
Methods inherited from class org.blackbox.shell.ObserverPatternImpl |
---|
addObserver, notifyObservers, removeObserver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.blackbox.model.ObservableEntity |
---|
addObserver, removeObserver |
Constructor Detail |
---|
public List()
public List(java.lang.String n)
Method Detail |
---|
public java.util.Iterator iterator()
Domain
iterator
in interface Domain
public java.lang.String domainName()
Domain
domainName
in interface Domain
public void setDomainName(java.lang.String name)
Domain
setDomainName
in interface Domain
public void assertHypothesis(Hypothesis h)
Domain
assertHypothesis
in interface Domain
h
- An hypothesis to assert.public void retractHypothesis(Hypothesis h)
Domain
retractHypothesis
in interface Domain
h
- An hypothesis to retract.public int countHypothesis()
Domain
countHypothesis
in interface Domain
public java.lang.String toString()
toString
in class java.lang.Object
public Blackboard blackboard()
Domain
blackboard
in interface Domain
public void setBlackboard(Blackboard bb)
Domain
setBlackboard
in interface Domain
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |