Creates a new UOPair from new elements. The items may be the same and do not need to be in order. If T allows null, then null is allowed.
If exactly one of e1 and e2 is null, then First will be null and Second will be non-null.
The items must be IComparable{T}.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public UOPair(
T e1,
T e2
)
Public Sub New (
e1 As T,
e2 As T
)
public:
UOPair(
T e1,
T e2
)
new :
e1 : 'T *
e2 : 'T -> UOPair
Parameters
- e1
- Type: T
an element for the UOPair - e2
- Type: T
another element for the UOPair. The two elements may be the same and do not need to be in order.
Return Value
Type:
A struct with the two items in sorted order.
See Also