Class Map
public class Map : JVMBridgeBase<Map>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
Map
- Implements
- Derived
- Inherited Members
-
JVMBridgeBase<Map>.SExecuteWithSignature<TReturn, TConverter>(Type, string, string, params object[])
- Extension Methods
Constructors
Map()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Map 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 Map()
Map(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Map(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Map(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("Map 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 Map(params object[] args)
Parameters
argsobject[]
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()
Compute(object, BiFunction)
public object Compute(object arg0, BiFunction arg1)
Parameters
arg0objectarg1BiFunction
Returns
ComputeIfAbsent(object, Function)
public object ComputeIfAbsent(object arg0, Function arg1)
Parameters
Returns
ComputeIfPresent(object, BiFunction)
public object ComputeIfPresent(object arg0, BiFunction arg1)
Parameters
arg0objectarg1BiFunction
Returns
ContainsKey(object)
public bool ContainsKey(object arg0)
Parameters
Returns
ContainsValue(object)
public bool ContainsValue(object arg0)
Parameters
Returns
EntrySet()
public Set EntrySet()
Returns
ForEach(BiConsumer)
public void ForEach(BiConsumer arg0)
Parameters
arg0BiConsumer
Get(object)
public object Get(object arg0)
Parameters
Returns
GetOrDefault(object, object)
public object GetOrDefault(object arg0, object arg1)
Parameters
Returns
IsEmpty()
public bool IsEmpty()
Returns
KeySet()
public Set KeySet()
Returns
Merge(object, object, BiFunction)
public object Merge(object arg0, object arg1, BiFunction arg2)
Parameters
arg0objectarg1objectarg2BiFunction
Returns
Put(object, object)
public object Put(object arg0, object arg1)
Parameters
Returns
PutAll(Map)
public void PutAll(Map arg0)
Parameters
PutIfAbsent(object, object)
public object PutIfAbsent(object arg0, object arg1)
Parameters
Returns
Remove(object)
public object Remove(object arg0)
Parameters
Returns
Remove(object, object)
public bool Remove(object arg0, object arg1)
Parameters
Returns
Replace(object, object)
public object Replace(object arg0, object arg1)
Parameters
Returns
Replace(object, object, object)
public bool Replace(object arg0, object arg1, object arg2)
Parameters
Returns
ReplaceAll(BiFunction)
public void ReplaceAll(BiFunction arg0)
Parameters
arg0BiFunction
Size()
public int Size()
Returns
Values()
public Collection Values()