XmobiTea.Collections.Generic 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package XmobiTea.Collections.Generic --version 1.0.0                
NuGet\Install-Package XmobiTea.Collections.Generic -Version 1.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="XmobiTea.Collections.Generic" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XmobiTea.Collections.Generic --version 1.0.0                
#r "nuget: XmobiTea.Collections.Generic, 1.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.
// Install XmobiTea.Collections.Generic as a Cake Addin
#addin nuget:?package=XmobiTea.Collections.Generic&version=1.0.0

// Install XmobiTea.Collections.Generic as a Cake Tool
#tool nuget:?package=XmobiTea.Collections.Generic&version=1.0.0                

XmobiTea.Collections.Generic

XmobiTea.Collections.Generic is a .NET library that provides a set of enhanced and efficient generic collection types. These collections are designed to extend the capabilities of standard .NET collections, offering improved performance, additional features, and specialized data structures for various use cases.

Key Features

1. Enhanced Collection Types

  • Thread-Safe Collections: Provides thread-safe versions of commonly used collections like dictionaries and lists, allowing safe concurrent access in multi-threaded environments.
  • Custom Collection Implementations: Offers specialized collections that are optimized for specific scenarios, such as fast lookups or memory-efficient storage.

2. High-Performance Operations

  • Optimized Algorithms: Includes collections with algorithms that are fine-tuned for performance, reducing the time complexity of common operations like searching, sorting, and adding/removing items.
  • Memory Efficiency: Collections are designed with memory optimization in mind, helping to minimize the memory footprint of large datasets.

3. Flexible APIs

  • Extended Functionality: The library extends the standard .NET collection APIs, adding methods and properties that offer greater flexibility and control over data management.
  • Compatibility: Works seamlessly with existing .NET collections and LINQ, allowing easy integration into existing projects.

4. Specialized Data Structures

  • Priority Queues: Includes efficient implementations of priority queues for scenarios that require prioritized processing of items.
  • Circular Buffers: Offers circular buffers that are ideal for scenarios where a fixed-size buffer is required with efficient use of memory.

5. Extensibility

  • Customizable Collections: Developers can extend the provided collections or create their own by inheriting from base classes, allowing for custom behaviors and optimizations.

Installation

To install XmobiTea.Collections.Generic, use NuGet Package Manager: Install-Package XmobiTea.Collections.Generic

Usage

Example: Thread-Safe Dictionary

Here's how to use the thread-safe dictionary from XmobiTea.Collections.Generic:

using XmobiTea.Collections.Generic;

var threadSafeDict = new ThreadSafeDictionary<int, string>();
threadSafeDict.Add(1, "Value1");
if (threadSafeDict.TryGetValue(1, out var value))
{
    Console.WriteLine(value); // Output: Value1
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net46 is compatible.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETFramework 4.8.1

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on XmobiTea.Collections.Generic:

Package Downloads
XmobiTea.ProtonNet.Networking

XmobiTea.ProtonNet.Networking contains networking objects used for transmitting and receiving data, as well as OperationModels. These components are essential for enabling effective communication and data exchange within the ProtonNet framework, ensuring that operations are carried out smoothly and efficiently.

XmobiTea.Data.Converter

XmobiTea.Data.Converter is designed to facilitate the conversion of data into objects, making them easier to work with and integrate into your application. It simplifies the process of transforming raw data into structured objects, enhancing usability and efficiency.

XmobiTea.ProtonNet.Server

XmobiTea.ProtonNet.Server is core of both SocketServer and WebApiServer.

GitHub repositories

This package is not used by any popular GitHub repositories.