Table of Contents

Class KeyValueSupport<K, V>

Namespace
MASES.KNet.Streams
Assembly
MASES.KNet.dll
public class KeyValueSupport<K, V> : JVMBridgeBase<KeyValueSupport<K, V>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

K
V
Inheritance
KeyValueSupport<K, V>
Implements
Inherited Members

Constructors

KeyValueSupport()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public KeyValueSupport()

KeyValueSupport(IJavaObject)

public KeyValueSupport(IJavaObject obj)

Parameters

obj IJavaObject

The IJavaObject referring KeyValue<K, V>

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Key

The value of the field key

public K Key { get; }

Property Value

K

Value

The value of the field value

public V Value { get; }

Property Value

V

Methods

ToKeyValue()

Convert this instance into an instance of KeyValue<K, V>

public KeyValue<K, V> ToKeyValue()

Returns

KeyValue<K, V>

An instance of KeyValue<K, V>

ToKeyValue(KeyValueSupport<K, V>)

Convert the kvs into an instance of KeyValue<K, V>

public static KeyValue<K, V> ToKeyValue(KeyValueSupport<K, V> kvs)

Parameters

kvs KeyValueSupport<K, V>

An instance of KeyValueSupport<K, V>

Returns

KeyValue<K, V>

An instance of KeyValue<K, V>