[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns for 2 classes to be compared via relational operator the Class type of common comparison. The output is always Long.class, double.class, String.class or bool.class depending on whether the passed types are numeric and floating-point. Accepts primitive as well as boxed types.

Namespace: net.esper.util
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function GetCompareToCoercionType ( _
	typeOne As Type, _
	typeTwo As Type _
) As Type
C#
public static Type GetCompareToCoercionType (
	Type typeOne,
	Type typeTwo
)
Visual C++
public:
static Type^ GetCompareToCoercionType (
	Type^ typeOne, 
	Type^ typeTwo
)

Parameters

typeOne
System.Type
The type one.
typeTwo
System.Type
The type two.

Return Value

One of Long.class, double.class or String.class