|
JTP API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jtp.fol.DefaultClause
Default implementation of Clause.
Constructor Summary | |
DefaultClause(Collection literals)
|
|
DefaultClause(Literal l1,
Literal l2)
|
|
DefaultClause(Literal l1,
Literal l2,
Literal l3)
|
Method Summary | |
Collection |
clauses()
Returns the collection of Clause s that make up this
CNFSentence. |
boolean |
equals(Object o)
|
Collection |
literals()
Returns the collection of Literal s that make up this Clause. |
Object |
substitute(Map m)
Performs substitution in this object. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultClause(Collection literals)
public DefaultClause(Literal l1, Literal l2)
public DefaultClause(Literal l1, Literal l2, Literal l3)
Method Detail |
public Collection literals()
Clause
Literal
s that make up this Clause.
literals
in interface Clause
public Collection clauses()
CNFSentence
Clause
s that make up this
CNFSentence.
clauses
in interface CNFSentence
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public Object substitute(Map m)
Substitutable
this
.
Note that this method does not have to check if this object is itself a key in the substitution map
and therefore has to be replaced. If you need that functionality,
SubstUtils.substitute(Object, Map)
should be used instead.
substitute
in interface Substitutable
|
JTP API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |