Intervals that represent a set of valid values between generic IComparables and can have an arbitrary number of pairs of lower and upper bounds, closed or open (for example: (-9,10]∪(80,100]). Support Contains - O(log n), Union, SymmetricDifference, Intersect, Complement and Length - O(n) operations.
Install-Package Accretion.Intervals -Version 3.1.0
dotnet add package Accretion.Intervals --version 3.1.0
<PackageReference Include="Accretion.Intervals" Version="3.1.0" />
paket add Accretion.Intervals --version 3.1.0
Fixed a bug where some intervals of integral types would have incorrect IsEmty values. BoolExtensions is no longer a part of the public API.
This package is not used by any popular GitHub repositories.