Hyperbee.Collections 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Hyperbee.Collections --version 2.0.0
                    
NuGet\Install-Package Hyperbee.Collections -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hyperbee.Collections" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hyperbee.Collections" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Hyperbee.Collections" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Hyperbee.Collections --version 2.0.0
                    
#r "nuget: Hyperbee.Collections, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Hyperbee.Collections&version=2.0.0
                    
Install Hyperbee.Collections as a Cake Addin
#tool nuget:?package=Hyperbee.Collections&version=2.0.0
                    
Install Hyperbee.Collections as a Cake Tool

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 param TData 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 Build status
main Build status

Benchmarks

See Benchmarks

Help

See Todo

Hyperbee.Collections

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Hyperbee.Collections:

Package Downloads
Hyperbee.Expressions

Async and Await for .NET Expression Trees.

Hyperbee.XS

XS: A Lightweight, Extensible Scripting Language for Expression Trees.

Hyperbee.XS.Extensions

Expression Script [XS] language extensions.

Hyperbee.Collections.Benchmark

Package Description

Hyperbee.Expressions.Lab

Sample Extentions for .NET Expression Trees.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.4.0 1,232 2/14/2025
2.4.0-develop.250214201007 65 2/14/2025
2.3.0 788 12/25/2024
2.2.0 103 12/25/2024
2.1.0 123 12/20/2024
2.0.0 233 11/15/2024
2.0.0-develop.241115194040 59 11/15/2024
1.0.0 915 4/11/2024