|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.ugos.JIProlog.engine.JIPClausesEnumeration
JIPClausesEnumeration is the base class to implement an enumeration of clauses contained in a custom database
Developers should implements the methods:
- nextClause
- hasMoreElements
For more information see the section "How to implement a custom database of clauses" in the Reference Manual.
JIPClausesDatabase| Constructor Summary | |
JIPClausesEnumeration(JIPClausesDatabase db)
Constructs a clauses enumeration from an instance of JIPClausesDatabase |
|
| Method Summary | |
JIPClausesDatabase |
getDatabase()
Gets the database associated to this enumeration |
abstract JIPClause |
nextClause()
Gets the next clause in this enumeration. |
java.lang.Object |
nextElement()
Gets the next element of the enumeration. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Enumeration |
hasMoreElements |
| Constructor Detail |
public JIPClausesEnumeration(JIPClausesDatabase db)
db - Tha JIPClausesDatabase related to this enumerationJIPClausesDatabase| Method Detail |
public abstract JIPClause nextClause()
JIPClausepublic final java.lang.Object nextElement()
nextElement in interface java.util.Enumerationpublic final JIPClausesDatabase getDatabase()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||