Sdílet prostřednictvím


EnumSet.AllOf(Class) Method

Definition

Creates an enum set containing all of the elements in the specified element type.

[Android.Runtime.Register("allOf", "(Ljava/lang/Class;)Ljava/util/EnumSet;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "E extends java.lang.Enum<E>" })]
public static Java.Util.EnumSet? AllOf (Java.Lang.Class? elementType);
[<Android.Runtime.Register("allOf", "(Ljava/lang/Class;)Ljava/util/EnumSet;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "E extends java.lang.Enum<E>" })>]
static member AllOf : Java.Lang.Class -> Java.Util.EnumSet

Parameters

elementType
Class

the class object of the element type for this enum set

Returns

An enum set containing all the elements in the specified type.

Attributes

Remarks

Creates an enum set containing all of the elements in the specified element type.

Java documentation for java.util.EnumSet.allOf(java.lang.Class<E>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to