code: public static <E extends Enum<E>> EnumSet<E> of(E e) {
          EnumSet<E> result = noneOf(e.getDeclaringClass());
          result.add(e);
          return result;
      }
docs: Creates an enum set initially containing the specified element.
  
  Overloadings of this method exist to initialize an enum set with
  one through five elements.  A sixth overloading is provided that
  uses the varargs feature.  This overloading may be used to create
  an enum set initially containing an arbitrary number of elements, but
  is likely to run slower than the overloadings that do not use varargs.
  
  @param <E> The class of the specified element and of the set
  @param e the element that this set is to contain initially
  @throws NullPointerException if <tt>e</tt> is null
  @return an enum set initially containing the specified element