Table of Contents

Class PredicateEqualityTest<TKey, TValue>

Namespace
MASES.KNet.Streams.Kstream
Assembly
MASES.KNet.dll

KNet extension of Predicate<K, V> to execute Test(K, V) directly in the JVM

public class PredicateEqualityTest<TKey, TValue> : Predicate<TKey, TValue>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IPredicate<byte[], byte[]>, IJVMBridgeBase, IJVMBridgeDefinition, IGenericSerDesFactoryApplier

Type Parameters

TKey
TValue
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
Predicate<TKey, TValue, byte[], byte[]>
Predicate<TKey, TValue>
PredicateEqualityTest<TKey, TValue>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeListener.Dispose()
JVMBridgeListener.IsBridgeStatic
JVMBridgeListener.IsBridgeCloseable
JVMBridgeListener.IsBridgeListener
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()
JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])
JVMBridgeBase<JVMBridgeListener>.DynBridgeClazz
JVMBridgeBase<JVMBridgeListener>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.IsBridgeAbstract

Constructors

PredicateEqualityTest()

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

public PredicateEqualityTest()

PredicateEqualityTest(TKey)

Initialize a new PredicateEqualityTest<TKey, TValue> only for key comparison

public PredicateEqualityTest(TKey key)

Parameters

key TKey

The key to use in comparison

PredicateEqualityTest(TKey, TValue, bool?)

Initialize a new PredicateEqualityTest<TKey, TValue> for both key and value comparison

public PredicateEqualityTest(TKey key, TValue value, bool? isKeyCheck = null)

Parameters

key TKey

The key to use in comparison

value TValue

The value to use in comparison

isKeyCheck bool?

Set to true to check the Key, set to false to check the Value or leave undefined to check both Key and Value

Remarks

Both key and value shall be equal to input parameters of Test(K, V) to return true

PredicateEqualityTest(TValue)

Initialize a new PredicateEqualityTest<TKey, TValue> only for value comparison

public PredicateEqualityTest(TValue value)

Parameters

value TValue

The value to use in comparison

Properties

AutoInit

Set to false to externally initialize this MASES.JCOBridge.C2JBridge.JVMBridgeListener instance using MASES.JCOBridge.C2JBridge.JVMInterop.IJVMWrapperManagement.InitializeListener(MASES.JCOBridge.C2JBridge.IJVMBridgeBase)

public override bool AutoInit { get; }

Property Value

bool

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsKeyCheck

Set to true to check the Key, set to false to check the Value or leave undefined to check both Key and Value

public bool? IsKeyCheck { get; set; }

Property Value

bool?

Key

The TKey to check

public TKey Key { get; set; }

Property Value

TKey

Value

The TValue to check

public TValue Value { get; set; }

Property Value

TValue