Package org.jcsp.lang
Interface ChannelArrayFactory<T>
-
- All Known Implementing Classes:
FilteredChannelFactory
,StandardChannelFactory
public interface ChannelArrayFactory<T>
Deprecated.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<T>[]
createAny2Any(int n)
Deprecated.Creates a populated array ofn
Any2Any
channels.Any2OneChannel<T>[]
createAny2One(int n)
Deprecated.Creates a populated array ofn
Any2One
channels.One2AnyChannel<T>[]
createOne2Any(int n)
Deprecated.Creates a populated array ofn
One2Any
channels.One2OneChannel<T>[]
createOne2One(int n)
Deprecated.Creates a populated array ofn
One2One
channels.
-
-
-
Method Detail
-
createOne2One
One2OneChannel<T>[] createOne2One(int n)
Deprecated.Creates a populated array ofn
One2One
channels.- Parameters:
n
- the size of the array.- Returns:
- the created array of channels.
-
createAny2One
Any2OneChannel<T>[] createAny2One(int n)
Deprecated.Creates a populated array ofn
Any2One
channels.- Parameters:
n
- the size of the array.- Returns:
- the created array of channels.
-
createOne2Any
One2AnyChannel<T>[] createOne2Any(int n)
Deprecated.Creates a populated array ofn
One2Any
channels.- Parameters:
n
- the size of the array.- Returns:
- the created array of channels.
-
createAny2Any
Any2AnyChannel<T>[] createAny2Any(int n)
Deprecated.Creates a populated array ofn
Any2Any
channels.- Parameters:
n
- the size of the array.- Returns:
- the created array of channels.
-
-