code: public synchronized Collection<T> getAllChannels()
      {
          Collection<T> allChannels = new ArrayList<T>();
          allChannels.addAll(this.channels);
          allChannels.addAll(this.channelsWithId.values());
          return allChannels;
      }
docs: /*
  Retrieve all the stored channels