public class OrderedDictionary_2<TKey extends IJCOBridgeReflected,TValue extends IJCOBridgeReflected> extends NetObjectEnumerable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.OrderedDictionary`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, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Collections
|
static java.lang.String |
className
Qualified class name: System.Collections.Generic.OrderedDictionary`2
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
OrderedDictionary_2() |
OrderedDictionary_2(IDictionary_2 dictionary) |
OrderedDictionary_2(IDictionary_2 dictionary,
IEqualityComparer_1 comparer) |
OrderedDictionary_2(IEnumerable_1 collection) |
OrderedDictionary_2(IEnumerable_1 collection,
IEqualityComparer_1 comparer) |
OrderedDictionary_2(IEqualityComparer_1 comparer) |
OrderedDictionary_2(int capacity) |
OrderedDictionary_2(int capacity,
IEqualityComparer_1 comparer) |
OrderedDictionary_2(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(TKey key,
TValue value) |
static OrderedDictionary_2 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into OrderedDictionary_2, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
ContainsKey(TKey key) |
boolean |
ContainsValue(TValue value) |
int |
EnsureCapacity(int capacity) |
KeyValuePair_2 |
GetAt(int index) |
int |
getCapacity() |
IEqualityComparer_1 |
getComparer() |
int |
getCount() |
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
|
int |
IndexOf(TKey key) |
void |
Insert(int index,
TKey key,
TValue value) |
boolean |
Remove(TKey key) |
boolean |
Remove(TKey key,
JCORefOut<TValue> value) |
void |
RemoveAt(int index) |
void |
SetAt(int index,
TKey key,
TValue value) |
void |
SetAt(int index,
TValue value) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
TrimExcess() |
void |
TrimExcess(int capacity) |
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 OrderedDictionary_2()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
public OrderedDictionary_2(IDictionary_2 dictionary) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArgumentNullException
public OrderedDictionary_2(IDictionary_2 dictionary, IEqualityComparer_1 comparer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
public OrderedDictionary_2(IEnumerable_1 collection) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArgumentNullException
public OrderedDictionary_2(IEnumerable_1 collection, IEqualityComparer_1 comparer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
public OrderedDictionary_2(IEqualityComparer_1 comparer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
public OrderedDictionary_2(int capacity)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
public OrderedDictionary_2(int capacity,
IEqualityComparer_1 comparer)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public OrderedDictionary_2(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(TKey key, TValue value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
public static OrderedDictionary_2 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into OrderedDictionary_2, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedOrderedDictionary_2 instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException
public boolean ContainsKey(TKey key) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic boolean ContainsValue(TValue value) throws java.lang.Throwable
java.lang.Throwablepublic int EnsureCapacity(int capacity)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public KeyValuePair_2 GetAt(int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public int getCapacity()
throws java.lang.Throwable
java.lang.Throwablepublic IEqualityComparer_1 getComparer() throws java.lang.Throwable
java.lang.Throwablepublic int getCount()
throws java.lang.Throwable
java.lang.Throwablepublic 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 int IndexOf(TKey key) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void Insert(int index,
TKey key,
TValue value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
public boolean Remove(TKey key) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic boolean Remove(TKey key, JCORefOut<TValue> value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public void SetAt(int index,
TKey key,
TValue value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
public void SetAt(int index,
TValue value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectEnumerablepublic void TrimExcess()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException
public void TrimExcess(int capacity)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
public boolean TryAdd(TKey key, TValue value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
public boolean TryGetValue(TKey key, JCORefOut<TValue> value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException