|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectalice.tuprolog.Term
alice.tuprolog.NullTerm
tuProlog Null Term, used only for implementation purpose. currently used only as terminator in Struct representing prolog list.
| Field Summary | |
static NullTerm |
NULL_TERM
|
| Fields inherited from class alice.tuprolog.Term |
FALSE, TRUE |
| Method Summary | |
Term |
copy()
gets a copy of this term. |
Term |
getTerm()
Gets the actual term referred by this Term. |
boolean |
isAtom()
is this term a prolog (alphanumeric) atom? |
boolean |
isAtomic()
is this term a constant prolog term? |
boolean |
isCompound()
is this term a prolog compound term? |
boolean |
isEqual(Term t)
Tests if this term is (logically) equal to another |
boolean |
isGreater(Term t)
is term greater than term t? |
boolean |
isGround()
is this term a ground term? |
boolean |
isList()
is this term a prolog list? |
boolean |
isNull()
is this term a null term? |
boolean |
isNumber()
is this term a prolog numeric term? |
boolean |
isStruct()
is this term a struct |
boolean |
isVar()
is this term a variable |
| Methods inherited from class alice.tuprolog.Term |
equals, getIterator, getRenamedCopy, match, parse, parse, resolveVariables, unify |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final NullTerm NULL_TERM
| Method Detail |
public boolean isNumber()
isNumber in class Termpublic boolean isStruct()
isStruct in class Termpublic boolean isVar()
isVar in class Termpublic boolean isNull()
Term
isNull in class Termpublic boolean isAtomic()
Term
isAtomic in class Termpublic boolean isCompound()
Term
isCompound in class Termpublic boolean isAtom()
Term
isAtom in class Termpublic boolean isList()
Term
isList in class Termpublic boolean isGround()
Term
isGround in class Termpublic boolean isGreater(Term t)
Term
isGreater in class Termpublic boolean isEqual(Term t)
Term
isEqual in class Termpublic Term copy()
Term
copy in class Termpublic Term getTerm()
Term
getTerm in class Term
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||