Table of Contents

Class Map

Namespace
Java.Util
Assembly
MASES.JNet.dll
public class Map : JVMBridgeBase<Map>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
Map
Implements
Derived
Inherited Members
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

initializer IJVMBridgeBaseInitializer

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

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Clear()

public void Clear()

Compute(object, BiFunction)

public object Compute(object arg0, BiFunction arg1)

Parameters

arg0 object

object

arg1 BiFunction

BiFunction

Returns

object

object

ComputeIfAbsent(object, Function)

public object ComputeIfAbsent(object arg0, Function arg1)

Parameters

arg0 object

object

arg1 Function

Function

Returns

object

object

ComputeIfPresent(object, BiFunction)

public object ComputeIfPresent(object arg0, BiFunction arg1)

Parameters

arg0 object

object

arg1 BiFunction

BiFunction

Returns

object

object

ContainsKey(object)

public bool ContainsKey(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

ContainsValue(object)

public bool ContainsValue(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

EntrySet()

public Set EntrySet()

Returns

Set

Set

ForEach(BiConsumer)

public void ForEach(BiConsumer arg0)

Parameters

arg0 BiConsumer

BiConsumer

Get(object)

public object Get(object arg0)

Parameters

arg0 object

object

Returns

object

object

GetOrDefault(object, object)

public object GetOrDefault(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

object

object

IsEmpty()

public bool IsEmpty()

Returns

bool

bool

KeySet()

public Set KeySet()

Returns

Set

Set

Merge(object, object, BiFunction)

public object Merge(object arg0, object arg1, BiFunction arg2)

Parameters

arg0 object

object

arg1 object

object

arg2 BiFunction

BiFunction

Returns

object

object

Put(object, object)

public object Put(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

object

object

PutAll(Map)

public void PutAll(Map arg0)

Parameters

arg0 Map

Map

PutIfAbsent(object, object)

public object PutIfAbsent(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

object

object

Remove(object)

public object Remove(object arg0)

Parameters

arg0 object

object

Returns

object

object

Remove(object, object)

public bool Remove(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

bool

bool

Replace(object, object)

public object Replace(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

object

object

Replace(object, object, object)

public bool Replace(object arg0, object arg1, object arg2)

Parameters

arg0 object

object

arg1 object

object

arg2 object

object

Returns

bool

bool

ReplaceAll(BiFunction)

public void ReplaceAll(BiFunction arg0)

Parameters

arg0 BiFunction

BiFunction

Size()

public int Size()

Returns

int

int

Values()

public Collection Values()

Returns

Collection

Collection