Package system.collections
Class SortedList
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.collections.SortedList
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class SortedList extends NetObjectEnumerable
The base .NET class managing System.Collections.SortedList, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Collections.SortedList
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: mscorlibstatic java.lang.StringclassNameQualified class name: System.Collections.SortedListstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description SortedList()SortedList(int initialCapacity)SortedList(java.lang.Object instance)Internal constructor.SortedList(IComparer comparer)SortedList(IComparer comparer, int capacity)SortedList(IDictionary d)SortedList(IDictionary d, IComparer comparer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAdd(NetObject key, NetObject value)static SortedListcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSortedList, a cast assert is made to check if types are compatible.voidClear()NetObjectClone()booleanContains(NetObject key)booleanContainsKey(NetObject key)booleanContainsValue(NetObject value)voidCopyTo(Array array, int arrayIndex)NetObjectGetByIndex(int index)intgetCapacity()intgetCount()booleangetIsFixedSize()booleangetIsReadOnly()booleangetIsSynchronized()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeNetObjectGetKey(int index)IListGetKeyList()ICollectiongetKeys()NetObjectgetSyncRoot()IListGetValueList()ICollectiongetValues()intIndexOfKey(NetObject key)intIndexOfValue(NetObject value)voidRemove(NetObject key)voidRemoveAt(int index)voidSetByIndex(int index, NetObject value)voidsetCapacity(int Capacity)voidsetJCOInstance(JCObject instance)static SortedListSynchronized(SortedList list)voidTrimToSize()-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Collections.SortedList- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SortedList
public SortedList(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
SortedList
public SortedList() throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
SortedList
public SortedList(int initialCapacity) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
SortedList
public SortedList(IComparer comparer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException
-
SortedList
public SortedList(IComparer comparer, int capacity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
SortedList
public SortedList(IDictionary d) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, RankException, ArgumentException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionRankExceptionArgumentExceptionInvalidOperationException
-
SortedList
public SortedList(IDictionary d, IComparer comparer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, RankException, FormatException, InvalidOperationException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObjectEnumerable- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObjectEnumerable- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObjectEnumerable- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObjectEnumerable- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObjectEnumerable
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObjectEnumerable- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SortedList cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSortedList, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SortedListinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(NetObject key) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationException
-
ContainsKey
public boolean ContainsKey(NetObject key) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationException
-
ContainsValue
public boolean ContainsValue(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeException
-
IndexOfKey
public int IndexOfKey(NetObject key) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationException
-
IndexOfValue
public int IndexOfValue(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeException
-
GetKeyList
public IList GetKeyList() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetValueList
public IList GetValueList() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Synchronized
public static SortedList Synchronized(SortedList list) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationException
-
Clone
public NetObject Clone() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
GetByIndex
public NetObject GetByIndex(int index) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
GetKey
public NetObject GetKey(int index) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
Add
public void Add(NetObject key, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException, TypeLoadException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, FormatException
-
Clear
public void Clear() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
CopyTo
public void CopyTo(Array array, int arrayIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeException
-
Remove
public void Remove(NetObject key) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
SetByIndex
public void SetByIndex(int index, NetObject value) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
TrimToSize
public void TrimToSize() throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
getIsFixedSize
public boolean getIsFixedSize() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsReadOnly
public boolean getIsReadOnly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsSynchronized
public boolean getIsSynchronized() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCapacity
public int getCapacity() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCapacity
public void setCapacity(int Capacity) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
getCount
public int getCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getKeys
public ICollection getKeys() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getValues
public ICollection getValues() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSyncRoot
public NetObject getSyncRoot() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-