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, toTermArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcast, getArgument, getArguments, getArity, getFunctor, getIndicator, getObject, getProvider, getTerm, getType, hasIndicator, isClass, isEmptyList, isEntry, isField, isList, isMap, isMixin, isParameter, isResult, isStructure, isVariableBound, isVariableNotBound, matchisClause, isTermpublic AbstractCompounds(int type,
PrologProvider provider)
public final boolean isAtom()
PrologTermisAtom in interface PrologTermpublic final boolean isNumber()
PrologTermisNumber in interface PrologTermpublic final boolean isFloat()
PrologTermisFloat in interface PrologTermpublic final boolean isInteger()
PrologTermisInteger in interface PrologTermpublic final boolean isDouble()
PrologTermisDouble in interface PrologTermpublic final boolean isLong()
PrologTermisLong in interface PrologTermpublic boolean isVariable()
PrologTermisVariable in interface PrologTermpublic final boolean isNil()
PrologTermisNil in interface PrologTermpublic final boolean isAtomic()
PrologTermisAtomic in interface PrologTermpublic final boolean isCompound()
PrologTermisCompound in interface PrologTermpublic final boolean isEvaluable()
PrologTermisEvaluable in interface PrologTermpublic final boolean isTrueType()
PrologTermisTrueType in interface PrologTermpublic final boolean isFalseType()
PrologTermisFalseType in interface PrologTermpublic final boolean isNullType()
PrologTermisNullType in interface PrologTermpublic final boolean isVoidType()
PrologTermisVoidType in interface PrologTermpublic final boolean isObjectType()
PrologTermisObjectType in interface PrologTermpublic final boolean isReference()
PrologTermisReference in interface PrologTermpublic final int compareTo(PrologTerm term)
compareTo in interface Comparable<PrologTerm>public final boolean unify(PrologTerm term)
PrologTermunify in interface PrologTermterm - the term to unify with the current termCopyright © 2020–2024 Prolobjectlink Project. All rights reserved.