code: public static <E extends Enum<E>> Flags<E> valueOf(Class<E> type, String values) {
          Flags<E> flags = new Flags<E>(type);
          for (String text : values.trim().split(MULTI_VALUE_SEPARATOR)) {
              flags.set(Enum.valueOf(type, text));
          }
          return flags;
      }
docs: Returns a Flags with a value represented by a string of concatenated enum literal names
  separated by any combination of a comma, a colon, or a white space.
  
  @param <E> the enum type argument associated with the Flags
  @param type the enum class associated with the Flags
  @param values a string representation of enum constants
  @return a Flags object