gnu.prolog.term
Class JavaObjectTerm
java.lang.Object
gnu.prolog.term.Term
gnu.prolog.term.AtomicTerm
gnu.prolog.term.JavaObjectTerm
- All Implemented Interfaces:
- Serializable, Cloneable
public class JavaObjectTerm
- extends AtomicTerm
Term which is embedding JavaObject This term should never participate in text
IO operations. It is always created as result of function calls. It could be
unified only with variable or other JavaObjectTerm that has value identical
(==) to value of this object.
- See Also:
- Serialized Form
value
public final Object value
- value of the term
JavaObjectTerm
public JavaObjectTerm(Object object)
getTermType
public int getTermType()
- get type of term
- Overrides:
getTermType
in class Term
- Returns:
- type of term