public class PrinterInt extends Object implements CSProcess

For convenience, PrinterInt may be configured with prefix and postfix strings with which to decorate its output.
| Input Channels | ||
|---|---|---|
| in | int | All channels in this package carry integers. |
MergeInt.Parallel| Constructor and Description |
|---|
PrinterInt(ChannelInputInt in)
Construct a new PrinterInt with System.out as
its PrintStream and empty prefix and postfix strings.
|
PrinterInt(ChannelInputInt in,
PrintStream printStream)
Construct a new PrinterInt with empty prefix and postfix strings.
|
PrinterInt(ChannelInputInt in,
PrintStream printStream,
String prefix,
String postfix)
Construct a new PrinterInt.
|
PrinterInt(ChannelInputInt in,
String prefix,
String postfix)
Construct a new PrinterInt with System.out as
its PrintStream.
|
public PrinterInt(ChannelInputInt in)
in - the channel from which to readpublic PrinterInt(ChannelInputInt in, String prefix, String postfix)
in - the channel from which to readprefix - the string to write in front of each integerpostfix - the string to write after each integerpublic PrinterInt(ChannelInputInt in, PrintStream printStream)
in - the channel from which to readprintStream - the stream to which to writepublic PrinterInt(ChannelInputInt in, PrintStream printStream, String prefix, String postfix)
in - he channel from which to readprintStream - the stream to which to writeprefix - the string to write in front of each integerpostfix - the string to write after each integerSubmit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.