public class ChannelGrouperImpl
extends java.lang.Object
| Constructor and Description |
|---|
ChannelGrouperImpl()
Creates a new
ChannelGrouperImpl instance. |
| Modifier and Type | Method and Description |
|---|---|
Channel[] |
retrieve_grouping(Channel[] channels,
Channel channel)
Given a channel and an array of Channels, this method returns the ChannelGroup
as an array of Channels corresponding to channel.
|
ChannelId[] |
retrieve_grouping(ChannelId[] channelIds,
ChannelId channelId)
Given a channelId and an array of ChannelIds, this method returns the ChannelGroup
as an array of ChannelIds corresponding to channelId.
|
ChannelId[] |
sortChannelGroup(ChannelId[] channelIds)
Given an array of channelIds this method returns sorted array of
channelIds.
|
public ChannelGrouperImpl()
ChannelGrouperImpl instance.public Channel[] retrieve_grouping(Channel[] channels, Channel channel)
channels - a Channel[] valuechannel - a Channel valueChannel[] valuepublic ChannelId[] retrieve_grouping(ChannelId[] channelIds, ChannelId channelId)
channelIds - a ChannelId[] valuechannelId - a ChannelId valueChannelId[] value