public abstract class AbstractCompounds extends AbstractTerm implements PrologTerm
provider, type
Constructor and Description |
---|
AbstractCompounds(int type,
PrologProvider provider) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PrologTerm term) |
boolean |
isAtom()
True if this term is an atom
|
boolean |
isAtomic()
True if this Term is a atomic term, false in other case
|
boolean |
isCompound()
True if this Term is a compound term, false in other case
|
boolean |
isDouble()
True if this Term is a double precision floating point number, false in other
case
|
boolean |
isEvaluable()
Check if the current term is a compound term and have like functor an
operator.
|
boolean |
isFalseType()
Check if the current term is a reference term and the referenced object is an
instance of java false value.
|
boolean |
isFloat()
True if this Term is a single precision floating point number, false in other
case
|
boolean |
isInteger()
True if this Term is an integer number, false in other case
|
boolean |
isLong()
True if this Term is a large integer number, false in other case
|
boolean |
isNil()
True if this Term is a nil term (null term for prolog), false in other case
|
boolean |
isNullType()
Check if the current term is a reference term and the referenced object is a
java null value.
|
boolean |
isNumber()
True if this term is an number
|
boolean |
isObjectType()
Check if the current term is a reference term for some java object instance.
|
boolean |
isReference()
Check if the current term is a reference term for some java object instance
or is a reference term and the referenced object is a java null value.
|
boolean |
isTrueType()
Check if the current term is a reference term and the referenced object is an
instance of java true value.
|
boolean |
isVariable()
True if this Term is a variable, false in other case
|
boolean |
isVoidType()
Check if the current term is a reference term for java void type.
|
boolean |
unify(PrologTerm term)
Check that the current term unify with the given term.
|
cast, cast, cast, checkIndex, checkIndex, fromTerm, fromTermArray, getArgument, getIndicator, getLogger, getObject, getProvider, getTerm, getType, hasIndicator, isClass, isClause, isEntry, isField, isMap, isMixin, isParameter, isResult, isTerm, isVariableBound, isVariableNotBound, match, removeQuoted, toTerm, toTermArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cast, getArgument, getArguments, getArity, getFunctor, getIndicator, getObject, getProvider, getTerm, getType, hasIndicator, isClass, isEmptyList, isEntry, isField, isList, isMap, isMixin, isParameter, isResult, isStructure, isVariableBound, isVariableNotBound, match
isClause, isTerm
public AbstractCompounds(int type, PrologProvider provider)
public final boolean isAtom()
PrologTerm
isAtom
in interface PrologTerm
public final boolean isNumber()
PrologTerm
isNumber
in interface PrologTerm
public final boolean isFloat()
PrologTerm
isFloat
in interface PrologTerm
public final boolean isInteger()
PrologTerm
isInteger
in interface PrologTerm
public final boolean isDouble()
PrologTerm
isDouble
in interface PrologTerm
public final boolean isLong()
PrologTerm
isLong
in interface PrologTerm
public boolean isVariable()
PrologTerm
isVariable
in interface PrologTerm
public final boolean isNil()
PrologTerm
isNil
in interface PrologTerm
public final boolean isAtomic()
PrologTerm
isAtomic
in interface PrologTerm
public final boolean isCompound()
PrologTerm
isCompound
in interface PrologTerm
public final boolean isEvaluable()
PrologTerm
isEvaluable
in interface PrologTerm
public final boolean isTrueType()
PrologTerm
isTrueType
in interface PrologTerm
public final boolean isFalseType()
PrologTerm
isFalseType
in interface PrologTerm
public final boolean isNullType()
PrologTerm
isNullType
in interface PrologTerm
public final boolean isVoidType()
PrologTerm
isVoidType
in interface PrologTerm
public final boolean isObjectType()
PrologTerm
isObjectType
in interface PrologTerm
public final boolean isReference()
PrologTerm
isReference
in interface PrologTerm
public final int compareTo(PrologTerm term)
compareTo
in interface Comparable<PrologTerm>
public final boolean unify(PrologTerm term)
PrologTerm
unify
in interface PrologTerm
term
- the term to unify with the current termCopyright © 2020–2024 Prolobjectlink Project. All rights reserved.