Table of Contents

Class EnumSet<E>

Namespace
Java.Util
Assembly
MASES.JNet.dll
public class EnumSet<E> : AbstractSet<E>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<E>, IEnumerable, IAsyncEnumerable<E>, IIterable<E>, ICollection<E> where E : Enum<E>

Type Parameters

E

Enum<E>

Inheritance
EnumSet<E>
Implements
Inherited Members
Extension Methods

Constructors

EnumSet()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("EnumSet class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public EnumSet()

EnumSet(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("EnumSet class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public EnumSet(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AllOf(Class)

public static EnumSet<E> AllOf(Class arg0)

Parameters

arg0 Class

Class

Returns

EnumSet<E>

EnumSet

Clone()

public EnumSet<E> Clone()

Returns

EnumSet<E>

EnumSet

ComplementOf(EnumSet<E>)

public static EnumSet<E> ComplementOf(EnumSet<E> arg0)

Parameters

arg0 EnumSet<E>

EnumSet

Returns

EnumSet<E>

EnumSet

CopyOf(Collection<E>)

public static EnumSet<E> CopyOf(Collection<E> arg0)

Parameters

arg0 Collection<E>

Collection

Returns

EnumSet<E>

EnumSet

CopyOf(EnumSet<E>)

public static EnumSet<E> CopyOf(EnumSet<E> arg0)

Parameters

arg0 EnumSet<E>

EnumSet

Returns

EnumSet<E>

EnumSet

NoneOf(Class)

public static EnumSet<E> NoneOf(Class arg0)

Parameters

arg0 Class

Class

Returns

EnumSet<E>

EnumSet

Of(E)

public static EnumSet<E> Of(E arg0)

Parameters

arg0 E

E

Returns

EnumSet<E>

EnumSet

Of(E, E)

public static EnumSet<E> Of(E arg0, E arg1)

Parameters

arg0 E

E

arg1 E

E

Returns

EnumSet<E>

EnumSet

Of(E, E, E)

public static EnumSet<E> Of(E arg0, E arg1, E arg2)

Parameters

arg0 E

E

arg1 E

E

arg2 E

E

Returns

EnumSet<E>

EnumSet

Of(E, E, E, E)

public static EnumSet<E> Of(E arg0, E arg1, E arg2, E arg3)

Parameters

arg0 E

E

arg1 E

E

arg2 E

E

arg3 E

E

Returns

EnumSet<E>

EnumSet

Of(E, E, E, E, E)

public static EnumSet<E> Of(E arg0, E arg1, E arg2, E arg3, E arg4)

Parameters

arg0 E

E

arg1 E

E

arg2 E

E

arg3 E

E

arg4 E

E

Returns

EnumSet<E>

EnumSet

Of(E, params E[])

public static EnumSet<E> Of(E arg0, params E[] arg1)

Parameters

arg0 E

E

arg1 E[]

E

Returns

EnumSet<E>

EnumSet

Range(E, E)

public static EnumSet<E> Range(E arg0, E arg1)

Parameters

arg0 E

E

arg1 E

E

Returns

EnumSet<E>

EnumSet

Operators

implicit operator Serializable(EnumSet<E>)

Converter from EnumSet<E> to Serializable

public static implicit operator Serializable(EnumSet<E> t)

Parameters

t EnumSet<E>

Returns

Serializable

implicit operator Cloneable(EnumSet<E>)

Converter from EnumSet<E> to Cloneable

public static implicit operator Cloneable(EnumSet<E> t)

Parameters

t EnumSet<E>

Returns

Cloneable

implicit operator EnumSet(EnumSet<E>)

Converter from EnumSet<E> to EnumSet

public static implicit operator EnumSet(EnumSet<E> t)

Parameters

t EnumSet<E>

Returns

EnumSet