code: public static Set<String> set(String... ss) {
          Set<String> set = new HashSet<String>();
          set.addAll(Arrays.asList(ss));
          return set;
      }
docs: Convenience method to create a set with strings.