Class SetInput
- java.lang.Object
-
- org.projog.core.predicate.AbstractSingleResultPredicate
-
- org.projog.core.predicate.builtin.io.SetInput
-
- All Implemented Interfaces:
KnowledgeBaseConsumer,PredicateFactory
public final class SetInput extends AbstractSingleResultPredicate
set_input(X)- sets the current input.set_input(X)sets the current input to the stream represented byX.Xwill be a term returned as the third argument ofopen, or the atomuser_input, which specifies that input to come from the keyboard.
-
-
Constructor Summary
Constructors Constructor Description SetInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanevaluate(Term arg)-
Methods inherited from class org.projog.core.predicate.AbstractSingleResultPredicate
evaluate, evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBase
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.projog.core.predicate.PredicateFactory
isAlwaysCutOnBacktrack
-
-
-
-
Method Detail
-
evaluate
protected boolean evaluate(Term arg)
- Overrides:
evaluatein classAbstractSingleResultPredicate
-
-