/** * Parse each of the module spec in the given iterable, according to the * given version option and return the {@code ModuleSpec}s in a set. * @param moduleSpecs * @param options Parsing options * @return */ public static LinkedHashSet<ModuleSpec> parseEachSet(Iterable<String> moduleSpecs, Option... options){ LinkedHashSet<ModuleSpec> modules = new LinkedHashSet<ModuleSpec>(); return parseEach(moduleSpecs, modules, options); }