@Nonnull
    default Map<String, Profile> getProfilesByName(@Nonnull Iterable<String> names) {
        Objects.requireNonNull(names, "names");
        Map<String, Profile> ret = new HashMap<>();
        for (String name : names) {
            getProfile(name).ifPresent(p -> ret.put(name, p));
        }
        return ret;
    }
Populates a map of name to profile for the given iterable of names.

<p>The map will only contain an entry for each given name if there is a
corresponding profile for the name in the repository.</p>

@param names the names to get profiles for
@return a map of name to profile, where possible, for each name in the iterable
@see #getProfile(String)
helper/src/main/java/me/lucko/helper/profiles/ProfileRepository.java