code: public Set getAliases() {
      Set result = new java.util.TreeSet();
      synchronized (aliases) {
        result.addAll(aliases.values());
      }
      return (result);
    }
docs: Returns a Set that is a snapshot of the Alias list. Modifications to this Set will not impact
  the AliasManager in any way.
  
  @return a Set that is a snapshot of the Alias list.