code: @Override
    public Collection<Realm> getRealms() {
      ArrayList<Realm> rss = new ArrayList<Realm>();
  
      Set<String> keys = new HashSet<String>(this.realmNameToRealmSet.keySet());
      for (String key : keys) {
        RealmSet rs = this.realmNameToRealmSet.get(key);
        rss.addAll(rs.values());
      }
      return rss;
    }
docs: /*
  (non-Javadoc)
  @see org.jdiameter.client.api.controller.IRealmTable#getRealms()