Skip to content

Methods_T_CodeJam_Ranges_CompositeRangeExtensions

andrewvk edited this page Nov 5, 2016 · 3 revisions

CompositeRangeExtensions Methods

The CompositeRangeExtensions type exposes the following members.

Methods

 

Name Description
Public methodStatic member Contains(T)(CompositeRange(T), Range(T)) Determines whether the composite range contains another range.
Public methodStatic member Contains(T)(CompositeRange(T), RangeBoundaryFrom(T)) Determines whether the composite range contains the specified range boundary.
Public methodStatic member Contains(T)(CompositeRange(T), RangeBoundaryTo(T)) Determines whether the composite range contains the specified range boundary.
Public methodStatic member Contains(T)(CompositeRange(T), T) Determines whether the composite range contains the specified value.
Public methodStatic member Contains(T)(CompositeRange(T), T, T) Determines whether the composite range contains another range.
Public methodStatic member Contains(T, TKey2)(CompositeRange(T), Range(T, TKey2)) Determines whether the composite range contains another range.
Public methodStatic member Contains(T, TCompositeRange)(CompositeRange(T), TCompositeRange) Determines whether the composite range contains another range.
Public methodStatic member Contains(T, TKey)(CompositeRange(T, TKey), Range(T)) Determines whether the composite range contains another range.
Public methodStatic member Contains(T, TKey)(CompositeRange(T, TKey), RangeBoundaryFrom(T)) Determines whether the composite range contains the specified range boundary.
Public methodStatic member Contains(T, TKey)(CompositeRange(T, TKey), RangeBoundaryTo(T)) Determines whether the composite range contains the specified range boundary.
Public methodStatic member Contains(T, TKey)(CompositeRange(T, TKey), T) Determines whether the composite range contains the specified value.
Public methodStatic member Contains(T, TKey)(CompositeRange(T, TKey), T, T) Determines whether the composite range contains another range.
Public methodStatic member Contains(T, TKey, TKey2)(CompositeRange(T, TKey), Range(T, TKey2)) Determines whether the composite range contains another range.
Public methodStatic member Contains(T, TKey, TCompositeRange)(CompositeRange(T, TKey), TCompositeRange) Determines whether the composite range contains another range.
Public methodStatic member Except(T)(CompositeRange(T), Range(T)) Returns source range with other range excluded.
Public methodStatic member Except(T)(CompositeRange(T), T, T) Returns source range with other range excluded.
Public methodStatic member Except(T, TKey2)(CompositeRange(T), Range(T, TKey2)) Returns source range with other range excluded.
Public methodStatic member Except(T, TCompositeRange)(CompositeRange(T), TCompositeRange) Returns source range with other range excluded.
Public methodStatic member Except(T, TKey)(CompositeRange(T, TKey), Range(T)) Returns source range with other range excluded.
Public methodStatic member Except(T, TKey)(CompositeRange(T, TKey), T, T) Returns source range with other range excluded.
Public methodStatic member Except(T, TKey, TKey2)(CompositeRange(T, TKey), Range(T, TKey2)) Returns source range with other range excluded.
Public methodStatic member Except(T, TKey, TCompositeRange)(CompositeRange(T, TKey), TCompositeRange) Returns source range with other range excluded.
Public methodStatic member GetComplementation(T)(CompositeRange(T)) Returns complementation composite range. Result range contains result of (infinityRange.Exclude(compositeRange).
Public methodStatic member GetComplementation(T)(Range(T)) Returns complementation composite range. Result range contains result of (infinityRange.Exclude(range).
Public methodStatic member GetComplementation(T, TKey)(CompositeRange(T, TKey)) Returns complementation composite range. Result range contains result of (infinityRange.Exclude(compositeRange).
Public methodStatic member GetComplementation(T, TKey)(Range(T, TKey)) Returns complementation composite range. Result range contains result of (infinityRange.Exclude(range).
Public methodStatic member GetIntersections(T)(CompositeRange(T)) Returns all range intersections from the composite range.
Public methodStatic member GetIntersections(T, TKey)(CompositeRange(T, TKey)) Returns all range intersections from the composite range.
Public methodStatic member HasIntersection(T)(CompositeRange(T), Range(T)) Determines whether the composite range has intersection with another range.
Public methodStatic member HasIntersection(T)(CompositeRange(T), T, T) Determines whether the composite has intersection with another range.
Public methodStatic member HasIntersection(T, TKey2)(CompositeRange(T), Range(T, TKey2)) Determines whether the composite range has intersection with another range.
Public methodStatic member HasIntersection(T, TCompositeRange)(CompositeRange(T), TCompositeRange) Determines whether the composite range has intersection with another range.
Public methodStatic member HasIntersection(T, TKey)(CompositeRange(T, TKey), Range(T)) Determines whether the composite range has intersection with another range.
Public methodStatic member HasIntersection(T, TKey)(CompositeRange(T, TKey), T, T) Determines whether the composite has intersection with another range.
Public methodStatic member HasIntersection(T, TKey, TKey2)(CompositeRange(T, TKey), Range(T, TKey2)) Determines whether the composite range has intersection with another range.
Public methodStatic member HasIntersection(T, TKey, TCompositeRange)(CompositeRange(T, TKey), TCompositeRange) Determines whether the composite range has intersection with another range.
Public methodStatic member Intersect(T)(CompositeRange(T), Range(T)) Returns an intersection of the the ranges.
Public methodStatic member Intersect(T)(CompositeRange(T), T, T) Returns an intersection of the the ranges.
Public methodStatic member Intersect(T, TKey2)(CompositeRange(T), Range(T, TKey2)) Returns an intersection of the the ranges.
Public methodStatic member Intersect(T, TCompositeRange)(CompositeRange(T), TCompositeRange) Returns an intersection of the the ranges.
Public methodStatic member Intersect(T, TKey)(CompositeRange(T, TKey), Range(T)) Returns an intersection of the the ranges.
Public methodStatic member Intersect(T, TKey)(CompositeRange(T, TKey), T, T) Returns an intersection of the the ranges.
Public methodStatic member Intersect(T, TKey, TKey2)(CompositeRange(T, TKey), Range(T, TKey2)) Returns an intersection of the the ranges.
Public methodStatic member Intersect(T, TKey, TCompositeRange)(CompositeRange(T, TKey), TCompositeRange) Returns an intersection of the the ranges.
Public methodStatic member MakeExclusive(T)(CompositeRange(T), Func(T, T), Func(T, T)) Replaces inclusive boundaries with exclusive ones with the values from the selector callbacks
Public methodStatic member MakeExclusive(T, TKey)(CompositeRange(T, TKey), Func(T, T), Func(T, T)) Replaces inclusive boundaries with exclusive ones with the values from the selector callbacks
Public methodStatic member MakeInclusive(T)(CompositeRange(T), Func(T, T), Func(T, T)) Replaces exclusive boundaries with inclusive ones with the values from the selector callbacks
Public methodStatic member MakeInclusive(T, TKey)(CompositeRange(T, TKey), Func(T, T), Func(T, T)) Replaces exclusive boundaries with inclusive ones with the values from the selector callbacks
Public methodStatic member ToCompositeRange(T)(Range(T)) Converts range to the composite range.
Public methodStatic member ToCompositeRange(T)(IEnumerable(Range(T))) Converts sequence of elements to the composite range.
Public methodStatic member ToCompositeRange(T, TKey)(Range(T, TKey)) Converts range to the composite range.
Public methodStatic member ToCompositeRange(T, TKey)(IEnumerable(Range(T, TKey))) Converts sequence of elements to the composite range.
Public methodStatic member ToCompositeRange(T, TKey)(IEnumerable(TKey), Func(TKey, T), Func(TKey, T)) Converts sequence of elements to the composite range.
Public methodStatic member ToCompositeRange(TSource, T, TKey)(IEnumerable(TSource), Func(TSource, T), Func(TSource, T), Func(TSource, TKey)) Converts sequence of elements to the composite range.
Public methodStatic member Union(T)(CompositeRange(T), CompositeRange(T)) Returns a union range containing all subranges.
Public methodStatic member Union(T)(CompositeRange(T), Range(T)) Returns a union range containing all subranges.
Public methodStatic member Union(T, TKey)(CompositeRange(T, TKey), CompositeRange(T, TKey)) Returns a union range containing all subranges.
Public methodStatic member Union(T, TKey)(CompositeRange(T, TKey), Range(T, TKey)) Returns a union range containing all subranges.
Public methodStatic member WithKeys(T, TKey2)(CompositeRange(T), TKey2) Creates a new composite range with the key specified.
Public methodStatic member WithKeys(T, TKey, TKey2)(CompositeRange(T, TKey), Func(TKey, TKey2)) Creates a new composite range with the key specified.
Public methodStatic member WithKeys(T, TKey, TKey2)(CompositeRange(T, TKey), TKey2) Creates a new composite range with the key specified.
Public methodStatic member WithoutKeys(T, TKey) Removes keys from the composite range.
Public methodStatic member WithValues(T, T2)(CompositeRange(T), Func(T, T2)) Creates a new composite range with the key specified.
Public methodStatic member WithValues(T, T2)(CompositeRange(T), Func(T, T2), Func(T, T2)) Creates a new composite range with the key specified.
Public methodStatic member WithValues(T, TKey, T2)(CompositeRange(T, TKey), Func(T, T2)) Creates a new composite range with the key specified.
Public methodStatic member WithValues(T, TKey, T2)(CompositeRange(T, TKey), Func(T, T2), Func(T, T2)) Creates a new composite range with the key specified.
  Back to Top

See Also

Reference

CompositeRangeExtensions Class
CodeJam.Ranges Namespace

Clone this wiki locally