Class Enum<E>
public class Enum<E> : JVMBridgeBase<Enum<E>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition where E : Enum<E>
Type Parameters
E
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Enum<E>>Enum<E>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<Enum<E>>.IsAssignableFrom(IJavaType)JVMBridgeBase<Enum<E>>.IsAssignableFrom<T>()JVMBridgeBase<Enum<E>>.Execute<T>(params T[])JVMBridgeBase<Enum<E>>.DynBridgeClazzJVMBridgeBase<Enum<E>>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Enum()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Enum 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 Enum()
Enum(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("Enum 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 Enum(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DeclaringClass
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Enum.html#getDeclaringClass()
public Class DeclaringClass { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
CompareTo(object)
public int CompareTo(object arg0)
Parameters
Returns
CompareTo(E)
public int CompareTo(E arg0)
Parameters
arg0
EE
Returns
Name()
public String Name()
Returns
Ordinal()
public int Ordinal()
Returns
ValueOf<T>(Class, String)
public static T ValueOf<T>(Class arg0, String arg1) where T : Enum<T>
Parameters
Returns
- T
T
Type Parameters
T
Operators
implicit operator Serializable(Enum<E>)
Converter from Enum<E> to Serializable
public static implicit operator Serializable(Enum<E> t)
Parameters
t
Enum<E>
Returns
implicit operator Comparable(Enum<E>)
Converter from Enum<E> to Comparable
public static implicit operator Comparable(Enum<E> t)
Parameters
t
Enum<E>
Returns
implicit operator Enum(Enum<E>)
public static implicit operator Enum(Enum<E> t)
Parameters
t
Enum<E>