Lines Matching defs:of

6  * under the terms of the GNU General Public License version 2 only, as
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * You should have received a copy of the GNU General Public License version
31 * A specialized {@link Set} implementation for use with enum types. All of
35 * extremely compact and efficient. The space and time performance of this
45 * and it may or may not show the effects of any modifications to the set that
50 * presence of a null element or to remove one will, however, function
55 * least one of the threads modifies the set, it should be synchronized
71 * <p>This class is a member of the
84 * The class of all the elements of this set.
89 * All of the values comprising T. (Cached for performance.)
103 * @param elementType the class object of the element type for this enum
119 * Creates an enum set containing all of the elements in the specified
122 * @param elementType the class object of the element type for this enum
133 * Adds all of the elements from the appropriate enum type to this enum
169 EnumSet<E> result = EnumSet.of(first);
178 * set, initially containing all the elements of this type that are
193 * Overloadings of this method exist to initialize an enum set with
196 * an enum set initially containing an arbitrary number of elements, but
203 public static <E extends Enum<E>> EnumSet<E> of(E e) {
212 * Overloadings of this method exist to initialize an enum set with
215 * an enum set initially containing an arbitrary number of elements, but
223 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2) {
233 * Overloadings of this method exist to initialize an enum set with
236 * an enum set initially containing an arbitrary number of elements, but
245 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3) {
256 * Overloadings of this method exist to initialize an enum set with
259 * an enum set initially containing an arbitrary number of elements, but
269 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4) {
281 * Overloadings of this method exist to initialize an enum set with
284 * an enum set initially containing an arbitrary number of elements, but
295 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4,
311 * number of elements, but it is likely to run slower than the overloadings
316 * @throws NullPointerException if any of the specified elements are null,
321 public static <E extends Enum<E>> EnumSet<E> of(E first, E... rest) {
330 * Creates an enum set initially containing all of the elements in the
333 * be out of order.
339 * @return an enum set initially containing all of the elements in the
357 * Returns a copy of this set.
359 * @return a copy of this set
370 * Complements the contents of this enum set.
375 * Throws an exception if e is not of the correct type for this enum set.
384 * Returns all of the values comprising E.
393 * This class is used to serialize all EnumSet instances, regardless of
396 * to ensure that the existence of a particular implementation type is
405 * The element type of this enum set.