All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.functions.Print

java.lang.Object
   |
   +----COM.objectspace.jgl.functions.Print

public final class Print
extends Object
implements UnaryFunction
Print is a unary function object that prints its operand to a PrintStream followed by a newline.

See Also:
OutputStreamIterator, PrintStream

Constructor Index

 o Print()
Construct myself to print all objects to the standard output stream, System.out.
 o Print(PrintStream)
Construct myself to print all objects to the specified PrintStream.

Method Index

 o execute(Object)
Print my operand to my PrintStream.

Constructors

 o Print
 public Print()
Construct myself to print all objects to the standard output stream, System.out.

 o Print
 public Print(PrintStream stream)
Construct myself to print all objects to the specified PrintStream.

Parameters:
stream - The PrintStream.

Methods

 o execute
 public Object execute(Object object)
Print my operand to my PrintStream.

Parameters:
object - The operand.
Returns:
The operand.

All Packages  Class Hierarchy  This Package  Previous  Next  Index