public class ConcurrentDictionary_2<TKey extends IJCOBridgeReflected,TValue extends IJCOBridgeReflected> extends NetObjectEnumerable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Concurrent.ConcurrentDictionary`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.Collections.Concurrent, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Collections.Concurrent
|
static java.lang.String |
className
Qualified class name: System.Collections.Concurrent.ConcurrentDictionary`2
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
ConcurrentDictionary_2() |
ConcurrentDictionary_2(IEnumerable_1 collection) |
ConcurrentDictionary_2(IEnumerable_1 collection,
IEqualityComparer_1 comparer) |
ConcurrentDictionary_2(IEqualityComparer_1 comparer) |
ConcurrentDictionary_2(int concurrencyLevel,
IEnumerable_1 collection,
IEqualityComparer_1 comparer) |
ConcurrentDictionary_2(int concurrencyLevel,
int capacity) |
ConcurrentDictionary_2(int concurrencyLevel,
int capacity,
IEqualityComparer_1 comparer) |
ConcurrentDictionary_2(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TValue |
AddOrUpdate(TKey key,
Func_2 addValueFactory,
Func_3 updateValueFactory) |
<TArg extends IJCOBridgeReflected> |
AddOrUpdate(TKey key,
Func_3 addValueFactory,
Func_4 updateValueFactory,
TArg factoryArgument) |
TValue |
AddOrUpdate(TKey key,
TValue addValue,
Func_3 updateValueFactory) |
static ConcurrentDictionary_2 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ConcurrentDictionary_2, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
ContainsKey(TKey key) |
IEqualityComparer_1 |
getComparer() |
int |
getCount() |
boolean |
getIsEmpty() |
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
|
ICollection_1 |
getKeys() |
TValue |
GetOrAdd(TKey key,
Func_2 valueFactory) |
<TArg extends IJCOBridgeReflected> |
GetOrAdd(TKey key,
Func_3 valueFactory,
TArg factoryArgument) |
TValue |
GetOrAdd(TKey key,
TValue value) |
ICollection_1 |
getValues() |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
KeyValuePair_2[] |
ToArray() |
boolean |
TryAdd(TKey key,
TValue value) |
boolean |
TryGetValue(TKey key,
JCORefOut<TValue> value) |
boolean |
TryRemove(KeyValuePair_2 item) |
boolean |
TryRemove(TKey key,
JCORefOut<TValue> value) |
boolean |
TryUpdate(TKey key,
TValue newValue,
TValue comparisonValue) |
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 ConcurrentDictionary_2()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException
public ConcurrentDictionary_2(IEnumerable_1 collection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
public ConcurrentDictionary_2(IEnumerable_1 collection, IEqualityComparer_1 comparer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
public ConcurrentDictionary_2(IEqualityComparer_1 comparer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException
public ConcurrentDictionary_2(int concurrencyLevel,
IEnumerable_1 collection,
IEqualityComparer_1 comparer)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic ConcurrentDictionary_2(int concurrencyLevel,
int capacity)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException
public ConcurrentDictionary_2(int concurrencyLevel,
int capacity,
IEqualityComparer_1 comparer)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException
public ConcurrentDictionary_2(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic TValue AddOrUpdate(TKey key, Func_2 addValueFactory, Func_3 updateValueFactory) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
public <TArg extends IJCOBridgeReflected> TValue AddOrUpdate(TKey key, Func_3 addValueFactory, Func_4 updateValueFactory, TArg factoryArgument) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
public TValue AddOrUpdate(TKey key, TValue addValue, Func_3 updateValueFactory) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
public static ConcurrentDictionary_2 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ConcurrentDictionary_2, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedConcurrentDictionary_2 instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
NotSupportedException,
EventSourceException,
KeyNotFoundException,
ArrayTypeMismatchException,
ObjectDisposedException
public boolean ContainsKey(TKey key) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic IEqualityComparer_1 getComparer() throws java.lang.Throwable
java.lang.Throwablepublic int getCount()
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
NotSupportedException,
EventSourceException,
KeyNotFoundException
public boolean getIsEmpty()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArrayTypeMismatchException,
InvalidOperationException,
NotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
OutOfMemoryException,
EventSourceException,
KeyNotFoundException
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 ICollection_1 getKeys() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, NotSupportedException, EventSourceException, PlatformNotSupportedException, ArgumentOutOfRangeException
public TValue GetOrAdd(TKey key, Func_2 valueFactory) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
public <TArg extends IJCOBridgeReflected> TValue GetOrAdd(TKey key, Func_3 valueFactory, TArg factoryArgument) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
public TValue GetOrAdd(TKey key, TValue value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
public ICollection_1 getValues() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, NotSupportedException, EventSourceException, PlatformNotSupportedException, ArgumentOutOfRangeException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectEnumerablepublic KeyValuePair_2[] ToArray() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, NotSupportedException, EventSourceException, KeyNotFoundException
public boolean TryAdd(TKey key, TValue value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
public boolean TryGetValue(TKey key, JCORefOut<TValue> value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
public boolean TryRemove(KeyValuePair_2 item) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public boolean TryRemove(TKey key, JCORefOut<TValue> value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
public boolean TryUpdate(TKey key, TValue newValue, TValue comparisonValue) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException