Acidictive.reply(target, to, c, "Listed " + (owners.size() + admins.size() + ops.size() + hops.size() + voices.size() + regs.size()) + " users that are currently in " + channel);
}
+ /*
+ * LinkedHashMap has a slight advantage when it comes to lookup and value based iteration
+ * which makes it more suitable for things that operate exclusively on all Channel objects
+ * instead of looking up specific channels by key. (there's a few in Geo & friends).
+ */
+ private static LinkedHashMap<String, Channel> channelMap = new LinkedHashMap<String, Channel>();
+
+ public static Collection<Channel> getChannelList()
+ {
+ return channelMap.values();
+ }
+
public static Set<String> getChannels()
{
return channelMap.keySet();