docs: public static <A> Set<A> set(A... elements) {
          final Set<A> set = new HashSet<A>(elements.length);
          for (A element : elements) {
              set.add(element);
          }
          return set;
      }