public Set < DbLicense > resolveLicenses ( List < String > licStrings ) { Set < DbLicense > result = new HashSet <> ( ) ; licStrings . stream ( ) . map ( this :: getMatchingLicenses ) . forEach ( result :: addAll ) ; return result ; }
Turns a series of strings into their corresponding license entities by using regular expressions