code: @Override public Set<Integer> getTypes(Integer id)
     {
        Set<Integer> result;
  
        Map<Integer, Integer> map = m_table.get(id);
        if (map != null)
        {
           result = map.keySet();
        }
        else
        {
           result = new HashSet<Integer>();
        }
  
        return (result);
     }
docs: {@inheritDoc}