Class BiFunction<K, V, KO, TJVMK, TJVMV, TJVMKO>
KNet implementation of Function<TObject, TReturn>
public class BiFunction<K, V, KO, TJVMK, TJVMV, TJVMKO> : BiFunction<TJVMK, TJVMV, TJVMKO>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IBiFunction<TJVMK, TJVMV, TJVMKO>, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IGenericSerDesFactoryApplier
Type Parameters
KThe type of the input to the function
VThe type of the input to the function
KOThe type of the result of the function
TJVMKThe JVM type of the input to the function
TJVMVThe JVM type of the input to the function
TJVMKOThe JVM type of the result of the function
- Inheritance
-
BiFunction<TJVMK, TJVMV, TJVMKO>BiFunction<K, V, KO, TJVMK, TJVMV, TJVMKO>
- Implements
-
IBiFunction<TJVMK, TJVMV, TJVMKO>
- Derived
Constructors
BiFunction()
Initialize a new instance of BiFunction<T, U, TReturn>
public BiFunction()
Properties
OnApply
The Func<T1, T2, TResult> to be executed
public virtual Func<K, V, KO> OnApply { get; set; }
Property Value
- Func<K, V, KO>
Methods
Apply(K, V)
Executes the Function action in the CLR
public virtual KO Apply(K o1, V o2)
Parameters
o1KThe
Kobjecto2VThe
Vobject
Returns
- KO
The apply
KO
Apply(TJVMK, TJVMV)
Executes the Function action in the CLR
public override TJVMKO Apply(TJVMK o1, TJVMV o2)
Parameters
o1TJVMKThe BiFunction object
o2TJVMVThe BiFunction object
Returns
- TJVMKO
The apply
TReturn
DisposeResult(TJVMKO)
Disposes the results of the Apply(TJVMK, TJVMV) or OnApply operations
protected virtual void DisposeResult(TJVMKO result)
Parameters
resultTJVMKOThe result to be disposed