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.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.Collections.IDictionary
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
Add(NetObject key, NetObject value)
void
Clear()
boolean
Contains(NetObject key)
boolean
getIsFixedSize()
boolean
getIsReadOnly()
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 TypeICollection
getKeys()
ICollection
getValues()
void
Remove(NetObject key)
static IDictionary
ToIDictionary(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance 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 theIJCOBridgeReflected
instance intoIDictionary
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IDictionary
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceICollection
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceICollection
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceICollection
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceICollection
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Returns:
- An
Object
representing the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceICollection
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Returns:
- A
JCType
representing 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
-
-