| 
CSP for Java (JCSP) 1.1-rc3  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jcsp.plugNplay.Substitute
public class Substitute
Substitutes a user-configured Object for each Object in the stream flowing through.

| Input Channels | ||
|---|---|---|
| in | java.lang.Object | The in Channel can accept data of any Class. | 
| Output Channels | ||
| out | java.lang.Object | The object to be sent down the Channel. | 
| Constructor Summary | |
|---|---|
Substitute(ChannelInput in,
           ChannelOutput out,
           Object o)
Construct a new Substitute process.  | 
|
| Method Summary | |
|---|---|
 void | 
run()
The main body of this process.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Substitute(ChannelInput in,
                  ChannelOutput out,
                  Object o)
o - the Object to be sent down the out Channel.in - the input Channelout - the output Channel| Method Detail | 
|---|
public void run()
run in interface CSProcess
  | 
CSP for Java (JCSP) 1.1-rc3  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||