class PitchExtractionUtil {

    public List<HarmonicLoop> findLoopsWithoutPitchExtractions(List<HarmonicLoop> harmonicLoops) {
        return harmonicLoops.stream().filter(harmonicLoop -> harmonicLoop.getPitchExtractions() == null || harmonicLoop.getPitchExtractions().isEmpty()).collect(Collectors.toList());
    }

    @Autowired public  PitchExtractionUtil(IHarmonicLoopsDal harmonicLoopsDal);

}