Skip to content

M_CodeJam_Ranges_CompositeRange_1_Intersect

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

CompositeRange(T).Intersect Method (CompositeRange(T))

Returns an intersection of the the ranges.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public CompositeRange<T> Intersect(
	CompositeRange<T> other
)

VB

Public Function Intersect ( 
	other As CompositeRange(Of T)
) As CompositeRange(Of T)

F#

member Intersect : 
        other : CompositeRange<'T> -> CompositeRange<'T> 

Parameters

 

other
Type: CodeJam.Ranges.CompositeRange(T)
The range to intersect with.

Return Value

Type: CompositeRange(T)
An intersection range or empty range if the ranges do not intersect.

See Also

Reference

CompositeRange(T) Structure
Intersect Overload
CodeJam.Ranges Namespace

Clone this wiki locally