Skip to content

M_CodeJam_Ranges_CompositeRange_2_HasIntersection__1

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

CompositeRange(T, TKey).HasIntersection(TKey2) Method (CompositeRange(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>(
	CompositeRange<T, TKey2> other
)

VB

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

F#

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

Parameters

 

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

Type Parameters

 

TKey2
The type of the key of another range.

Return Value

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

See Also

Reference

CompositeRange(T, TKey) Structure
HasIntersection Overload
CodeJam.Ranges Namespace

Clone this wiki locally