jason.stdlib
Class print

Package class diagram package print
java.lang.Object
  extended by jason.asSemantics.DefaultInternalAction
      extended by jason.stdlib.println
          extended by jason.stdlib.print
All Implemented Interfaces:
InternalAction, java.io.Serializable

public class print
extends println
implements InternalAction

Internal action: .print.

Description: used for printing messages to the console where the system is running. It receives any number of parameters, which can be not only strings but also any AgentSpeak term (including variables). Terms are made ground according to the current unifying function before being printed out. No new line is printed after the parameters.

The precise format and output device of the message is defined by the Java logging configuration as defined in the logging.properties file in the project directory.

Parameters:

Example:

See Also:
println, Serialized Form

Constructor Summary
print()
           
 
Method Summary
static InternalAction create()
           
protected  java.lang.String getNewLine()
           
 
Methods inherited from class jason.stdlib.println
argsToString, execute
 
Methods inherited from class jason.asSemantics.DefaultInternalAction
canBeUsedInContext, checkArguments, getMaxArgs, getMinArgs, prepareArguments, suspendIntention
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jason.asSemantics.InternalAction
canBeUsedInContext, execute, prepareArguments, suspendIntention
 

Constructor Detail

print

public print()
Method Detail

create

public static InternalAction create()

getNewLine

protected java.lang.String getNewLine()
Overrides:
getNewLine in class println