Class AbstractMap<K, V>
public class AbstractMap<K, V> : Map<K, V>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IMap<K, V>
Type Parameters
K
V
- Inheritance
-
JVMBridgeBase<Map<K, V>>Map<K, V>AbstractMap<K, V>
- Implements
-
IMap<K, V>
- Derived
- Inherited Members
- Extension Methods
Constructors
AbstractMap()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("AbstractMap class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractMap()
AbstractMap(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("AbstractMap class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractMap(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
Clear()
public void Clear()
ContainsKey(object)
public bool ContainsKey(object arg0)
Parameters
Returns
ContainsValue(object)
public bool ContainsValue(object arg0)
Parameters
Returns
EntrySet()
public Set<Map.Entry<K, V>> EntrySet()
Returns
Get(object)
public V Get(object arg0)
Parameters
Returns
- V
V
IsEmpty()
public bool IsEmpty()
Returns
KeySet()
public Set<K> KeySet()
Returns
Put(K, V)
public V Put(K arg0, V arg1)
Parameters
arg0
KK
arg1
VV
Returns
- V
V
PutAll<Arg0ExtendsK, Arg0ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV>)
public void PutAll<Arg0ExtendsK, Arg0ExtendsV>(Map<Arg0ExtendsK, Arg0ExtendsV> arg0) where Arg0ExtendsK : K where Arg0ExtendsV : V
Parameters
Type Parameters
Arg0ExtendsK
K
Arg0ExtendsV
V
Remove(object)
public V Remove(object arg0)
Parameters
Returns
- V
V
Size()
public int Size()
Returns
Values()
public Collection<V> Values()
Returns
Operators
implicit operator AbstractMap(AbstractMap<K, V>)
Converter from AbstractMap<K, V> to AbstractMap
public static implicit operator AbstractMap(AbstractMap<K, V> t)
Parameters
t
AbstractMap<K, V>