-
Notifications
You must be signed in to change notification settings - Fork 35
Methods_T_CodeJam_Ranges_CompositeRangeExtensions
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Name | Description | |
---|---|---|
GetComplementation(T)(Range(T)) | Returns complementation composite range. Result range contains result of (infinityRange.Exclude(range). | |
GetComplementation(T, TKey)(Range(T, TKey)) | Returns complementation composite range. Result range contains result of (infinityRange.Exclude(range). | |
ToCompositeRange(T)(Range(T)) | Converts range to the composite range. | |
ToCompositeRange(T)(IEnumerable(Range(T))) | Converts sequence of elements to the composite range. | |
ToCompositeRange(T, TKey)(Range(T, TKey)) | Converts range to the composite range. | |
ToCompositeRange(T, TKey)(IEnumerable(Range(T, TKey))) | Converts sequence of elements to the composite range. | |
ToCompositeRange(T, TKey)(IEnumerable(TKey), Func(TKey, T), Func(TKey, T)) | Converts sequence of elements to the composite range. | |
ToCompositeRange(TSource, T, TKey)(IEnumerable(TSource), Func(TSource, T), Func(TSource, T), Func(TSource, TKey)) | Converts sequence of elements to the composite range. | |
ToCompositeRangeFrom(TSource, T)(IEnumerable(TSource), Func(TSource, T)) | Converts sequence of elements to the composite range using only From boundary. The To boundary value is taken from the next item in sequence (+∞ for the last item in sequence) | |
ToCompositeRangeFrom(TSource, T, TKey)(IEnumerable(TSource), Func(TSource, T), Func(TSource, TKey)) | Converts sequence of elements to the composite range using only From boundary. The To boundary value is taken from the next item in sequence (+∞ for the last item in sequence) | |
ToCompositeRangeTo(TSource, T)(IEnumerable(TSource), Func(TSource, T)) | Converts sequence of elements to the composite range using only To boundary. The From boundary value is taken from the previous item in sequence (-∞ for the last item in sequence). | |
ToCompositeRangeTo(TSource, T, TKey)(IEnumerable(TSource), Func(TSource, T), Func(TSource, TKey)) | Converts sequence of elements to the composite range using only To boundary. The From boundary value is taken from the previous item in sequence (-∞ for the last item in sequence). |