Parallel Processes 2
class Succ implements CSPProcess {
private ChannelOutput out;
Integer x=(Integer)in.read();
int res = x.intValue() + 1;
out.write(new Integer(res));
class Nos implements CSPProcess {
private ChannelOutput out;
Channel a = new Channel();
Channel b = new Channel();
Channel c = new Channel();
new Parallel(new CSPProcess[] {
new Prefix(a,b,new Integer(0)),