|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.ugos.JIProlog.engine.JIPTerm
|
+--com.ugos.JIProlog.engine.JIPVariable
JIPVariable wraps a prolog variable
JIPTerm,
Serialized Form| Method Summary | |
static JIPVariable |
create()
Creates a new anonimous Variable |
static JIPVariable |
create(java.lang.String strName)
Creates a new Variable |
java.lang.String |
getName()
Returns the name of the variable |
JIPTerm |
getValue()
If the variable is bounded it returns the JIPTerm object bounded, otherwise it raises a JIPRuntimeException. |
boolean |
isAnonymous()
Checks if the variable is anonymous |
boolean |
isBounded()
Checks if the variable is bounded (instantiated) |
| Methods inherited from class com.ugos.JIProlog.engine.JIPTerm |
clear, clone, getVariables, getVariablesTable, toString, toString, toStringq, unifiable, unify |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static final JIPVariable create(java.lang.String strName)
strName - the name of the variablepublic static final JIPVariable create()
public final JIPTerm getValue()
JIPTermpublic final java.lang.String getName()
public final boolean isBounded()
public final boolean isAnonymous()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||