|
GNU Prolog for Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.prolog.term.Term
public abstract class Term
base class for all terms.
Field Summary | |
---|---|
static int |
ATOM
|
static int |
COMPOUND
|
static int |
FLOAT
|
static int |
INTEGER
|
static int |
JAVA_OBJECT
|
static int |
UNKNOWN
|
static int |
VARIABLE
|
Constructor Summary | |
---|---|
Term()
|
Method Summary | |
---|---|
Object |
clone()
clone the term. |
abstract Term |
clone(TermCloneContext context)
clone the object using clone context |
Term |
dereference()
dereference term. |
int |
getTermType()
get type of term |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UNKNOWN
public static final int VARIABLE
public static final int JAVA_OBJECT
public static final int FLOAT
public static final int INTEGER
public static final int ATOM
public static final int COMPOUND
Constructor Detail |
---|
public Term()
Method Detail |
---|
public Object clone()
clone
in class Object
public abstract Term clone(TermCloneContext context)
context
- clone context
public Term dereference()
VariableTerm
. It means that the term which is
eventually pointed to by however long a chain of intermediate terms is the
one which you get.
public int getTermType()
public String toString()
toString
in class Object
|
GNU Prolog for Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |