*/
public class Channel {
- /** Function to convert a channel to its network. */
- public static final Function<Channel, Network> TO_NETWORK = new Function<Channel, Network>() {
- @Override
- public Network apply(Channel channel) {
- return channel.network();
- }
- };
-
/** The network this channel belongs to. */
private final Network network;