@Nonnull
    default Map<UUID, Profile> getProfiles(@Nonnull Iterable<UUID> uniqueIds) {
        Objects.requireNonNull(uniqueIds, "uniqueIds");
        Map<UUID, Profile> ret = new HashMap<>();
        for (UUID uniqueId : uniqueIds) {
            Profile profile = getProfile(uniqueId);
            if (profile.getName().isPresent()) {
                ret.put(uniqueId, profile);
            }
        }
        return ret;
    }
Populates a map of unique id to profile for the given iterable of unique ids.

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

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