Skip to content

T_CodeJam_Ranges_RangeIntersection_2

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

RangeIntersection(T, TKey) Structure

Describes an intersection of multiple ranges.

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

Syntax

C#

public struct RangeIntersection<T, TKey> : IFormattable

VB

Public Structure RangeIntersection(Of T, TKey)
	Implements IFormattable

F#

[<SealedAttribute>]
type RangeIntersection<'T, 'TKey> =  
    struct
        interface IFormattable
    end

Type Parameters

 

T
The type of the range values.
TKey
The type of the range key
  The RangeIntersection(T, TKey) type exposes the following members.

Properties

 

Name Description
Public property IntersectionRange The common part for all ranges in intersection.
Public property IsEmpty Gets a value indicating whether the intersection does not contain any ranges.
Public property IsNotEmpty Gets a value indicating whether the intersection contains any ranges.
Public property Ranges The ranges in the intersection, if any.
  Back to Top

Methods

 

Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString() Returns string representation of the range intersection. (Overrides ValueType.ToString().)
Public method ToString(IFormatProvider) Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.
Public method ToString(String) Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.
Public method ToString(String, IFormatProvider) Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.
  Back to Top

See Also

Reference

CodeJam.Ranges Namespace
System.IFormattable

Clone this wiki locally