@Override
    public synchronized Set<Group> getGroupsFromValues() {
        Set<Group> result = new HashSet<>();
        for(String groupName : getKnownGroupNamesFromValues()) {
            result.add(Group.resolveFrom(groupName));
        }
        return result;
    }
Returns the groups that are implied (resolvable) from the values in the map.

@return A Set containing the groups among the values
xmppserver/src/main/java/org/jivesoftware/openfire/group/ConcurrentGroupMap.java