Package org.jcsp.lang
Class BasicOne2OneChannelSymmetric<T>
- java.lang.Object
-
- org.jcsp.lang.BasicOne2OneChannelSymmetric<T>
-
- All Implemented Interfaces:
One2OneChannelSymmetric<T>
class BasicOne2OneChannelSymmetric<T> extends java.lang.Object implements One2OneChannelSymmetric<T>
-
-
Field Summary
Fields Modifier and Type Field Description private AltingBarrier[]abprivate One2OneChannel<T>c
-
Constructor Summary
Constructors Constructor Description BasicOne2OneChannelSymmetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AltingChannelInput<T>in()Returns the input channel end.AltingChannelOutput<T>out()Returns the output channel end.
-
-
-
Field Detail
-
ab
private final AltingBarrier[] ab
-
c
private final One2OneChannel<T> c
-
-
Method Detail
-
in
public AltingChannelInput<T> in()
Description copied from interface:One2OneChannelSymmetricReturns the input channel end.- Specified by:
inin interfaceOne2OneChannelSymmetric<T>
-
out
public AltingChannelOutput<T> out()
Description copied from interface:One2OneChannelSymmetricReturns the output channel end.- Specified by:
outin interfaceOne2OneChannelSymmetric<T>
-
-