Skip to content

M_CodeJam_Ranges_CompositeRange_1_HasIntersection__1_1

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

CompositeRange(T).HasIntersection(TKey2) Method (Range(T, TKey2))

Determines whether the composite range has intersection with another range.

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

Syntax

C#

public bool HasIntersection<TKey2>(
	Range<T, TKey2> other
)

VB

Public Function HasIntersection(Of TKey2) ( 
	other As Range(Of T, TKey2)
) As Boolean

F#

member HasIntersection : 
        other : Range<'T, 'TKey2> -> bool 

Parameters

 

other
Type: CodeJam.Ranges.Range(T, TKey2)
The range to check.

Type Parameters

 

TKey2
The type of the other range key

Return Value

Type: Boolean
true, if the composite range has intersection with another range.

See Also

Reference

CompositeRange(T) Structure
HasIntersection Overload
CodeJam.Ranges Namespace

Clone this wiki locally