public class Lazy_2<T extends IJCOBridgeReflected,TMetadata extends IJCOBridgeReflected> extends Lazy_1<T>
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Lazy`2
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Lazy`2
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Lazy_2() |
Lazy_2(Func_1 valueFactory,
TMetadata metadata) |
Lazy_2(Func_1 valueFactory,
TMetadata metadata,
boolean isThreadSafe) |
Lazy_2(Func_1 valueFactory,
TMetadata metadata,
LazyThreadSafetyMode mode) |
Lazy_2(java.lang.Object instance)
Internal constructor.
|
Lazy_2(TMetadata metadata) |
Lazy_2(TMetadata metadata,
boolean isThreadSafe) |
Lazy_2(TMetadata metadata,
LazyThreadSafetyMode mode) |
| Modifier and Type | Method and Description |
|---|---|
static Lazy_2 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Lazy_2, a cast assert is made to check if types are compatible. |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
TMetadata |
getMetadata() |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
getIsValueCreated, getValuepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic Lazy_2()
throws java.lang.Throwable
java.lang.Throwablepublic Lazy_2(Func_1 valueFactory, TMetadata metadata) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionpublic Lazy_2(Func_1 valueFactory, TMetadata metadata, boolean isThreadSafe) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionpublic Lazy_2(Func_1 valueFactory, TMetadata metadata, LazyThreadSafetyMode mode) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionpublic Lazy_2(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Lazy_2(TMetadata metadata) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionpublic Lazy_2(TMetadata metadata, boolean isThreadSafe) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionpublic Lazy_2(TMetadata metadata, LazyThreadSafetyMode mode) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionpublic static Lazy_2 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Lazy_2, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedLazy_2 instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Lazy_1<T extends IJCOBridgeReflected>String representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Lazy_1<T extends IJCOBridgeReflected>String representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Lazy_1<T extends IJCOBridgeReflected>Object representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Lazy_1<T extends IJCOBridgeReflected>String representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class Lazy_1<T extends IJCOBridgeReflected>JCType representing the CLR Type of the instantiated Classpublic TMetadata getMetadata() throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class Lazy_1<T extends IJCOBridgeReflected>