Table of Contents

Class Dictionary<K, V>

Namespace
Java.Util
Assembly
MASES.JNet.dll
public class Dictionary<K, V> : JVMBridgeBase<Dictionary<K, V>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition

Type Parameters

K
V
Inheritance
Dictionary<K, V>
Implements
Derived
Extension Methods

Constructors

Dictionary()

public Dictionary()

Dictionary(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Dictionary(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

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 java.lang.AutoCloseable

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

CreatePoolableInstance()

HPA initializer for Dictionary()

public static Dictionary<K, V> CreatePoolableInstance()

Returns

Dictionary<K, V>

Elements()

public Enumeration<V> Elements()

Returns

Enumeration<V>

Enumeration

Get(object)

public V Get(object arg0)

Parameters

arg0 object

object

Returns

V

V

IsEmpty()

public bool IsEmpty()

Returns

bool

bool

Keys()

public Enumeration<K> Keys()

Returns

Enumeration<K>

Enumeration

Put(K, V)

public V Put(K arg0, V arg1)

Parameters

arg0 K

K

arg1 V

V

Returns

V

V

Remove(object)

public V Remove(object arg0)

Parameters

arg0 object

object

Returns

V

V

Size()

public int Size()

Returns

int

int

Operators

implicit operator Dictionary(Dictionary<K, V>)

Converter from Dictionary<K, V> to Dictionary

public static implicit operator Dictionary(Dictionary<K, V> t)

Parameters

t Dictionary<K, V>

Returns

Dictionary