xtd 1.0.0
Loading...
Searching...
No Matches
xtd::collections Namespace Reference

Definition

The xtd::collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.

Namespaces

namespace  concurrent
 Provides several thread-safe collection classes that should be used in place of the corresponding types in the xtd::collections and xtd::collections::generic namespaces whenever multiple threads are accessing the collection concurrently.
However, access to elements of a collection object through extension methods or through explicit interface implementations are not guaranteed to be thread-safe and may need to be synchronized by the caller.
namespace  generic
 The xtd::collections::generic namespace contains interfaces and classes that define generic collections, which allow users to create strongly typed collections that provide better type safety and performance than non-generic strongly typed collections.
namespace  object_model
 Contains classes that can be used as collections in the object model of a reusable library. Use these classes when properties or methods return collections.
namespace  specialized
 The xtd::collections::specialized namespace contains specialized and strongly-typed collections; for example, a linked list dictionary, a bit vector, and collections that contain only strings.

Classes

class  bit_array
 Manages a compact array of bit values, which are represented as booleans, where true indicates that the bit is on (1) and false indicates the bit is off (0). More...
class  key_not_found_exception
 The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection. More...

Alias

using any_pair
 Implements a xtd::collections::generic::key_value_pair with the key and the value strongly typed to be xtd::any_object.
using array_list
 Represents a collection of xtd::any_object.
using comparer
 Exposes a method that compares two objects.
using dictionary_entry
 Defines a dictionary key/value pair that can be set or retrieved.
using enumerator
 Supports a simple iteration over a non-generic collection.
using hashtable
 Represents a collection of key/value pairs that are organized based on the hash code of the key.
using icollection
 Defines size, enumerators, and synchronization methods for all nongeneric collections.
using icomparer
 interface IComparer exposes a method that compares two objects.
using idictionary
 interface IComparer exposes a method that compares two objects.
using ienumerable
 Exposes an enumerator, which supports a simple iteration over a non-generic collection.
using ienumerator
 Supports a simple iteration over a non-generic collection.
using iequality_comparer
 Defines methods to support the comparison of objects for equality.
using ilist
 Represents a non-generic collection of objects that can be individually accessed by index.
using queue
 Represents a first-in, first-out collection of objects.
using sorted_list
 Represents a collection of xtd::any_object.
using stack
 Represents a collection of xtd::any_object.
using vector_list
 Represents a collection of xtd::any_object.