Returns a new list of pairs that comes as a result of combining two other lists. Performs mergers but does not coalesce two adjacent regions into one. Use Compact() for that. NOTE! The two ranges must be in the right (sorted) order.

Namespace: Spherical.Htm
Assembly: SphericalHtm (in SphericalHtm.dll) Version: 1.0.0.0

Syntax

C#
public static List<Int64Pair> Combine(
	List<Int64Pair> ranges,
	List<Int64Pair> newranges
)
Visual C++
public:
static List<Int64Pair>^ Combine(
	List<Int64Pair>^ ranges, 
	List<Int64Pair>^ newranges
)
F#
static member Combine : 
        ranges:List<Int64Pair> * 
        newranges:List<Int64Pair> -> List<Int64Pair> 

Parameters

ranges
Type: System.Collections.Generic..::..List<(Of <(<'Int64Pair>)>)>
First list of pairs
newranges
Type: System.Collections.Generic..::..List<(Of <(<'Int64Pair>)>)>
Second list of pairs

Return Value

Combined list of pairs

See Also