public final class TailInt extends Object implements CSProcess
Two inputs are needed before any output is produced but, thereafter, one output is produced for each input.
Input Channels | ||
---|---|---|
in | int | All channels in this package carry integers. |
Output Channels | ||
out | int | All channels in this package carry integers. |
IdentityInt
process for the copy loop:
public void run () { in.read (); // accept, but discard, the first item new IdentityInt (in, out).run (); // copy the rest of the stream }
Constructor and Description |
---|
TailInt(ChannelInputInt in,
ChannelOutputInt out)
Construct a new TailInt process with the input Channel in and the
output Channel out.
|
public TailInt(ChannelInputInt in, ChannelOutputInt out)
in
- the input Channelout
- the output ChannelCopyright © 1996–2015. All rights reserved.