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, System.Collections.NonGeneric, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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.String
assemblyFullName
Fully assembly qualified name: System.Collections.NonGeneric, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Collections.NonGenericstatic java.lang.String
className
Qualified class name: System.Collections.SortedListstatic JCType
classType
The 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 void
Add(NetObject key, NetObject value)
static SortedList
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSortedList
, a cast assert is made to check if types are compatible.void
Clear()
NetObject
Clone()
boolean
Contains(NetObject key)
boolean
ContainsKey(NetObject key)
boolean
ContainsValue(NetObject value)
void
CopyTo(Array array, int arrayIndex)
NetObject
GetByIndex(int index)
int
getCapacity()
int
getCount()
boolean
getIsFixedSize()
boolean
getIsReadOnly()
boolean
getIsSynchronized()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeNetObject
GetKey(int index)
IList
GetKeyList()
ICollection
getKeys()
NetObject
getSyncRoot()
IList
GetValueList()
ICollection
getValues()
int
IndexOfKey(NetObject key)
int
IndexOfValue(NetObject value)
void
Remove(NetObject key)
void
RemoveAt(int index)
void
SetByIndex(int index, NetObject value)
void
setCapacity(int Capacity)
void
setJCOInstance(JCObject instance)
static SortedList
Synchronized(SortedList list)
void
TrimToSize()
-
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: System.Collections.NonGeneric, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Collections.NonGeneric- 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.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SortedList
public SortedList() throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentNullException
OutOfMemoryException
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
ExternalException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
-
SortedList
public SortedList(int initialCapacity) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, ExternalException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
OutOfMemoryException
CultureNotFoundException
ExternalException
-
SortedList
public SortedList(IComparer comparer, int capacity) throws java.lang.Throwable, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, ArgumentException, ObjectDisposedException
-
SortedList
public SortedList(IComparer comparer) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, ArgumentException
-
SortedList
public SortedList(IDictionary d, IComparer comparer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, RankException, IndexOutOfRangeException, InvalidCastException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
RankException
IndexOutOfRangeException
InvalidCastException
-
SortedList
public SortedList(IDictionary d) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, InvalidCastException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObjectEnumerable
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObjectEnumerable
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObjectEnumerable
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObjectEnumerable
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObjectEnumerable
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObjectEnumerable
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SortedList cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSortedList
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SortedList
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Contains
public boolean Contains(NetObject key) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, RankException
-
ContainsKey
public boolean ContainsKey(NetObject key) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, RankException
-
ContainsValue
public boolean ContainsValue(NetObject value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
-
IndexOfKey
public int IndexOfKey(NetObject key) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
IndexOfValue
public int IndexOfValue(NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
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, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CultureNotFoundException
NullReferenceException
OutOfMemoryException
ExternalException
-
Clone
public NetObject Clone() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
CultureNotFoundException
NullReferenceException
OutOfMemoryException
ExternalException
-
GetByIndex
public NetObject GetByIndex(int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetKey
public NetObject GetKey(int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Add
public void Add(NetObject key, NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
CopyTo
public void CopyTo(Array array, int arrayIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, InvalidCastException
-
Remove
public void Remove(NetObject key) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, RankException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidCastException
-
SetByIndex
public void SetByIndex(int index, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
TrimToSize
public void TrimToSize() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
-
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, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
-
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
-
-