Package org.jcsp.lang
Interface ChannelArrayFactory
-
- All Known Implementing Classes:
FilteredChannelFactory,StandardChannelFactory
public interface ChannelArrayFactoryDeprecated.These channel factories are deprecated in favour of the new one2one() methods in the Channel class.Defines an interface for a factory that can create arrays of channels.- Author:
- Quickstone Technologies Limited
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Any2AnyChannel[]createAny2Any(int n)Deprecated.Creates a populated array ofnAny2Anychannels.Any2OneChannel[]createAny2One(int n)Deprecated.Creates a populated array ofnAny2Onechannels.One2AnyChannel[]createOne2Any(int n)Deprecated.Creates a populated array ofnOne2Anychannels.One2OneChannel[]createOne2One(int n)Deprecated.Creates a populated array ofnOne2Onechannels.
-
-
-
Method Detail
-
createOne2One
One2OneChannel[] createOne2One(int n)
Deprecated.Creates a populated array ofnOne2Onechannels.- Parameters:
n- the size of the array.- Returns:
- the created array of channels.
-
createAny2One
Any2OneChannel[] createAny2One(int n)
Deprecated.Creates a populated array ofnAny2Onechannels.- Parameters:
n- the size of the array.- Returns:
- the created array of channels.
-
createOne2Any
One2AnyChannel[] createOne2Any(int n)
Deprecated.Creates a populated array ofnOne2Anychannels.- Parameters:
n- the size of the array.- Returns:
- the created array of channels.
-
createAny2Any
Any2AnyChannel[] createAny2Any(int n)
Deprecated.Creates a populated array ofnAny2Anychannels.- Parameters:
n- the size of the array.- Returns:
- the created array of channels.
-
-