Hyperbee.Collections
2.0.0-develop.241115194040
See the version list below for details.
dotnet add package Hyperbee.Collections --version 2.0.0-develop.241115194040
NuGet\Install-Package Hyperbee.Collections -Version 2.0.0-develop.241115194040
<PackageReference Include="Hyperbee.Collections" Version="2.0.0-develop.241115194040" />
paket add Hyperbee.Collections --version 2.0.0-develop.241115194040
#r "nuget: Hyperbee.Collections, 2.0.0-develop.241115194040"
// Install Hyperbee.Collections as a Cake Addin #addin nuget:?package=Hyperbee.Collections&version=2.0.0-develop.241115194040&prerelease // Install Hyperbee.Collections as a Cake Tool #tool nuget:?package=Hyperbee.Collections&version=2.0.0-develop.241115194040&prerelease
Hyperbee.Collection
Additional collections types and extensions.
AhoCorasickTrie - A trie that will find strings or phrases and return values of type
TData
for each string or phrase found. Type paramTData
is the type of the data returned when a match is found.ConcurrentSet - A set based on
System.Collections.Concurrent.ConcurrentDictionary
Deque - A generic double-ended queue class based of the work of Tom Jacques
DynamicDictionaryBase - A base class that supports the ability to easily create dynamic dictionaries with specific value types
LinkedDictionary - A dictionary comprised of a stack of dictionaries this allows pushing and popping scopes
OrderedDictionary - A dictionary that preserves insertion order for enumerations
OrderedSet - A set using on
System.Collections.ObjectModel.KeyedCollection
Example
var linked = new LinkedDictionary<string, string>();
// push an initial set of keys
linked.Push( new Dictionary<string, string>
{
["first"] = "default_first",
["last"] = "default_last",
["suffix"] = "",
} );
linked.Push( new Dictionary<string, string>
{
["first"] = "Tim", // new scope masks original values
["last"] = "Jones", // new scope masks original values
["address"] = "123 Main St." // New key
} );
Build Requirements
- To build and run this project, .NET 9 SDK is required.
- Ensure your development tools are compatible with .NET 8 or higher.
Building the Project
- With .NET 9 SDK installed, you can build the project using the standard
dotnet build
command.
Running Tests
- Run tests using the
dotnet test
command as usual.
Status
Branch | Action |
---|---|
develop |
|
main |
Benchmarks
See Benchmarks
Help
See Todo
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.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 |
---|---|---|
2.0.0 | 119 | 11/15/2024 |
2.0.0-develop.241115194040 | 35 | 11/15/2024 |
1.0.0 | 759 | 4/11/2024 |