ubc.cs.JLog.Foundation
Interface iType
- All Known Implementing Classes:
- iPredicate, jAbs, jACos, jAdd, jAddEvent, jAfter, jAfterEqual, jAnimate, jAnimate_addshape, jAnimate_create, jAnimate_delete, jAnimate_getattr, jAnimate_getobject, jAnimate_getshape, jAnimate_init, jAnimate_move, jAnimate_objects, jAnimate_path, jAnimate_removeshape, jAnimate_rotate, jAnimate_setattr, jAnimate_setlevel, jAnimate_setmagnify, jAnimate_setview, jAnimate_shapes, jAnimate_update, jAppendArray, jArg, jASin, jAssert, jAsserta, jAssertz, jATan, jATan2, jAtom, jBefore, jBeforeEqual, jBinaryBuiltinPredicate, jBitwiseConjunction, jBitwiseDisjunction, jBitwiseExclusiveDisjunction, jBitwiseLeftShift, jBitwiseNegation, jBitwiseRightShift, jBuiltinPredicate, jCall, jCallN, jCeiling, jClause, jCommand, jCompare, jCompoundTerm, jConjunctTerm, jCons, jConvertArray, jCopyTerm, jCos, jCreate3, jCreate4, jCreateArray, jCurrentOpList, jCut, jDBConnect, jDBDisconnect, jDBExecute, jDBExecuteParam, jDBSelect, jDCG, jDynamic, jEnumerateVariablesArray, jEqual, jEquivalence, jEquivalent, jExists, jExp, jExpandTerm, jFail, jFloor, jFSDelete, jFSExists, jFSisFileOrDir, jFSLength, jFSListDir, jFSMakeDir, jFSRead, jFSWrite, jFunctor, jGetArrayElement, jGreaterThan, jGreaterThanEqual, jIf, jImport, jInteger, jIntegerArithmetic, jIntegerDivide, jIntegerOnlyArithmetic, jIntersectArray, jInvoke4, jInvoke5, jIs, jIsAtom, jIsAtomic, jIsCallable, jIsCompound, jIsGround, jIsInteger, jIsList, jIsNonVariable, jIsNumber, jIsReal, jIsSimple, jIsType, jIsVariable, jJ2P, jKeysort, jLessThan, jLessThanEqual, jList, jListPair, jLoadLibrary, jLog, jLog10, jLog2, jLogBase, jLookup, jMax, jMin, jMinus, jMod, jMultiply, jName, jNaryBuiltinPredicate, jNotEqual, jNotEquivalence, jNotEquivalent, jNotUnify, jNullList, jNumericComparison, jObject, jOp, jOperator, jOr, jOrPredicate, jP2J, jPlus, jPow, jPredicate, jPredicateTerms, jQuadaryBuiltinPredicate, jRandom, jRead, jReal, jRealArithmetic, jRealDivide, jRealUnaryArithmetic, jRegister, jRepeat, jRetract, jRound, jSetArrayElement, jSin, jSort, jSqrt, jStatic, jSubtract, jSubtractArray, jTan, jTerm, jTermToList, jTime, jTrinaryBuiltinPredicate, jTrue, jTruncate, jType, jUnaryArithmetic, jUnaryBuiltinPredicate, jUnaryOperator, jUnify, jUnionArray, jUnregister, jVariable, jWrite
public interface iType
This abstract interface defines all the prolog types.
Use iType.getType()
in place of instanceof for speed, and when only the
actual instance type matters, and not any super classes.
Any new types added to the system must be registered in this interface. It is unlikely
that this would be needed, since they are quite general.
- Author:
- Glendon Holst
TYPE_UNDEFINED
static final int TYPE_UNDEFINED
- See Also:
- Constant Field Values
TYPE_ATOM
static final int TYPE_ATOM
- See Also:
- Constant Field Values
TYPE_INTEGER
static final int TYPE_INTEGER
- See Also:
- Constant Field Values
TYPE_REAL
static final int TYPE_REAL
- See Also:
- Constant Field Values
TYPE_PREDICATE
static final int TYPE_PREDICATE
- See Also:
- Constant Field Values
TYPE_BUILTINPREDICATE
static final int TYPE_BUILTINPREDICATE
- See Also:
- Constant Field Values
TYPE_COMPOUND
static final int TYPE_COMPOUND
- See Also:
- Constant Field Values
TYPE_PREDICATETERMS
static final int TYPE_PREDICATETERMS
- See Also:
- Constant Field Values
TYPE_CONS
static final int TYPE_CONS
- See Also:
- Constant Field Values
TYPE_OR
static final int TYPE_OR
- See Also:
- Constant Field Values
TYPE_ORPREDICATE
static final int TYPE_ORPREDICATE
- See Also:
- Constant Field Values
TYPE_IF
static final int TYPE_IF
- See Also:
- Constant Field Values
TYPE_COMMAND
static final int TYPE_COMMAND
- See Also:
- Constant Field Values
TYPE_LIST
static final int TYPE_LIST
- See Also:
- Constant Field Values
TYPE_NULLLIST
static final int TYPE_NULLLIST
- See Also:
- Constant Field Values
TYPE_VARIABLE
static final int TYPE_VARIABLE
- See Also:
- Constant Field Values
TYPE_OPERATOR
static final int TYPE_OPERATOR
- See Also:
- Constant Field Values
TYPE_UNARYOPERATOR
static final int TYPE_UNARYOPERATOR
- See Also:
- Constant Field Values
TYPE_NUMERICCOMPARE
static final int TYPE_NUMERICCOMPARE
- See Also:
- Constant Field Values
TYPE_COMPARE
static final int TYPE_COMPARE
- See Also:
- Constant Field Values
TYPE_TYPE
static final int TYPE_TYPE
- See Also:
- Constant Field Values
TYPE_ARITHMETIC
static final int TYPE_ARITHMETIC
- See Also:
- Constant Field Values
TYPE_UNARYARITHMETIC
static final int TYPE_UNARYARITHMETIC
- See Also:
- Constant Field Values
TYPE_OBJECT
static final int TYPE_OBJECT
- See Also:
- Constant Field Values
getType
int getType()