Package system.collections
Interface IDictionary
-
- All Superinterfaces:
ICollection,IEnumerable,IJCOBridgeReflected,java.lang.Iterable<NetObject>
- All Known Subinterfaces:
IOrderedDictionary
- All Known Implementing Classes:
IDictionaryImplementation,IOrderedDictionaryImplementation
public interface IDictionary extends IJCOBridgeReflected, ICollection, IEnumerable
The base .NET class managing System.Collections.IDictionary, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Collections.IDictionary
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: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.Collections.IDictionary
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidAdd(NetObject key, NetObject value)voidClear()booleanContains(NetObject key)booleangetIsFixedSize()booleangetIsReadOnly()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 TypeICollectiongetKeys()ICollectiongetValues()voidRemove(NetObject key)static IDictionaryToIDictionary(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIDictionary, a cast assert is made to check if types are compatible.-
Methods inherited from interface system.collections.ICollection
CopyTo, getCount, getIsSynchronized, getSyncRoot
-
Methods inherited from interface org.mases.jcobridge.netreflection.IEnumerable
GetEnumerator
-
-
-
-
Field Detail
-
assemblyFullName
static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
static final java.lang.String className
Qualified class name: System.Collections.IDictionary- See Also:
- Constant Field Values
-
-
Method Detail
-
ToIDictionary
static IDictionary ToIDictionary(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIDictionary, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IDictionaryinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceICollection- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassNamein interfaceICollection- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceICollection- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstancein interfaceICollection- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Returns:
- An
Objectrepresenting the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOTypein interfaceICollection- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Returns:
- A
JCTyperepresenting the Type of the instantiated Class
-
Contains
boolean Contains(NetObject key) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
void Add(NetObject key, NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Clear
void Clear() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Remove
void Remove(NetObject key) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsFixedSize
boolean getIsFixedSize() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsReadOnly
boolean getIsReadOnly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getKeys
ICollection getKeys() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getValues
ICollection getValues() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-