public class ConditionalWeakTable_2<TKey extends IJCOBridgeReflected,TValue extends IJCOBridgeReflected> extends NetObjectEnumerable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.CompilerServices.ConditionalWeakTable`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=10.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.Runtime.CompilerServices.ConditionalWeakTable`2
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
ConditionalWeakTable_2() |
ConditionalWeakTable_2(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(TKey key,
TValue value) |
void |
AddOrUpdate(TKey key,
TValue value) |
static ConditionalWeakTable_2 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ConditionalWeakTable_2, a cast assert is made to check if types are compatible. |
void |
Clear() |
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
|
TValue |
GetOrAdd(TKey key,
Func_2 valueFactory) |
<TArg extends IJCOBridgeReflected> |
GetOrAdd(TKey key,
Func_3 valueFactory,
TArg factoryArgument) |
TValue |
GetOrAdd(TKey key,
TValue value) |
TValue |
GetOrCreateValue(TKey key) |
boolean |
Remove(TKey key) |
boolean |
Remove(TKey key,
JCORefOut<TValue> value) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
boolean |
TryAdd(TKey key,
TValue value) |
boolean |
TryGetValue(TKey key,
JCORefOut<TValue> value) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic 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 ConditionalWeakTable_2()
throws java.lang.Throwable
java.lang.Throwablepublic ConditionalWeakTable_2(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(TKey key, TValue value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public void AddOrUpdate(TKey key, TValue value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public static ConditionalWeakTable_2 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ConditionalWeakTable_2, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedConditionalWeakTable_2 instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic TValue GetOrAdd(TKey key, Func_2 valueFactory) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public <TArg extends IJCOBridgeReflected> TValue GetOrAdd(TKey key, Func_3 valueFactory, TArg factoryArgument) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public TValue GetOrAdd(TKey key, TValue value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
public TValue GetOrCreateValue(TKey key) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, FormatException, MissingMethodException, TargetInvocationException
public boolean Remove(TKey key) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public boolean Remove(TKey key, JCORefOut<TValue> value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectEnumerablepublic boolean TryAdd(TKey key, TValue value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public boolean TryGetValue(TKey key, JCORefOut<TValue> value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException