utte.numberset
1.0.0
dotnet add package utte.numberset --version 1.0.0
NuGet\Install-Package utte.numberset -Version 1.0.0
<PackageReference Include="utte.numberset" Version="1.0.0" />
paket add utte.numberset --version 1.0.0
#r "nuget: utte.numberset, 1.0.0"
// Install utte.numberset as a Cake Addin #addin nuget:?package=utte.numberset&version=1.0.0 // Install utte.numberset as a Cake Tool #tool nuget:?package=utte.numberset&version=1.0.0
Generic sets for numbers or numberlike objects and Union, Interection and Difference for them. The sets track if they contain their endpoints and thus wether they are Open, Closed or neither.
Three interfaces are included: IBoundedSet<T> - Interface for building sets of numberlike objects of type T. The sets are immutable and every operation on them creates new sets, T has to implement IAdditionOperators<T, T, T>, ISubtractionOperators<T, T, T>, IComparisonOperators<T, T, bool> The structure of the sets are INumberSet<T> which contains a collection of INumberSetElement<T> A single T instance is considered a point INumberSetElement<T> - Interface implementing IBoundedSet<T> for constructing elements of a set which is a set in itself. The interface is used as part of INumberSet. T has to implement IAdditionOperators<T, T, T>, ISubtractionOperators<T, T, T>, IComparisonOperators<T, T, bool> INumberSet<T> - Interface implementing IBoundedSet<T> for constructing sets of numberlike objects of type T. It is built of a collection of INumberSetElement and is immutable. Every INumberSetElement in the collection should be disjunct and sorted in order. T has to implement IAdditionOperators<T, T, T>, ISubtractionOperators<T, T, T>, IComparisonOperators<T, T, bool>
Two classes are included: NumberSetElement<T> - Implementation of INumberSetElement<T> NumberSet<T> - Implementation of INumberSet<T>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 223 | 3/6/2023 |