Class ChannelPool
- java.lang.Object
-
- cz.cvut.fel.sit.omo.foodchain.pool.PoolListBase<ChannelBase>
-
- cz.cvut.fel.sit.omo.foodchain.pool.ChannelPool
-
public class ChannelPool extends PoolListBase<ChannelBase>
Pool for storing all channels
-
-
Field Summary
-
Fields inherited from class cz.cvut.fel.sit.omo.foodchain.pool.PoolListBase
pool
-
-
Constructor Summary
Constructors Constructor Description ChannelPool()
-
Method Summary
Modifier and Type Method Description ChannelBasefindByType(ProductType type)Finds channel by its type.
-
-
-
Method Detail
-
findByType
public ChannelBase findByType(ProductType type)
Finds channel by its type.- Parameters:
type- type of channel- Returns:
- channel
-
-