RangeTMerge(RangeT, ComparisonT) Method

Merges two ranges into one range that fully encompasses both ranges.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.190 -- Release Build+4f7f1aafd7d11323546b3aa1b5f0d7a271c76461
public Range<T> Merge(
	Range<T> range,
	Comparison<T> comparison
)

Parameters

range  RangeT
The range to be merged with this one.
comparison  ComparisonT
The comparison used to compare objects of type T.

Return Value

RangeT
The range that fully encompasses the merged ranges.

See Also