code: public static <E> ArraySet<E> newArraySet(E... elements) {
          int capacity = elements.length * 4 / 3 + 1;
          ArraySet<E> set = new ArraySet<E>(capacity);
          Collections.addAll(set, elements);
          return set;
      }
docs: Creates a {@code ArraySet} instance containing the given elements.