Lines Matching defs:e1
230 * @param e1 an element that this set is to contain initially
235 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2) {
236 EnumSet<E> result = noneOf(e1.getDeclaringClass());
237 result.add(e1);
252 * @param e1 an element that this set is to contain initially
258 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3) {
259 EnumSet<E> result = noneOf(e1.getDeclaringClass());
260 result.add(e1);
276 * @param e1 an element that this set is to contain initially
283 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4) {
284 EnumSet<E> result = noneOf(e1.getDeclaringClass());
285 result.add(e1);
302 * @param e1 an element that this set is to contain initially
310 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4,
313 EnumSet<E> result = noneOf(e1.getDeclaringClass());
314 result.add(e1);