`result` is already an `Iterable`, so there is no need to call `iterator()` if you use `Iterables.transform`.
Why the change from `LinkedHashSet` to `HashSet` ?
Prefer using static imports for the `Sets` and `Iterables` stuff.