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 | 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 | 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 = xtd::collections::generic::key_value_pair< std::any, std::any > | 
| Implements a std::pair with the key and the value strongly typed to be std::any.   | |
| using | array_list = generic::list< xtd::any_object > | 
| Represents a collection of std::any.   | |
| using | enumerator = generic::enumerator< xtd::any_object > | 
| Supports a simple iteration over a non-generic collection.   | |
| using | hashtable = generic::dictionary< xtd::any_object, xtd::any_object > | 
| Represents a collection of key/value pairs that are organized based on the hash code of the key.   | |
| using | icollection = generic::icollection< xtd::any_object > | 
| Defines size, enumerators, and synchronization methods for all nongeneric collections.   | |
| using | ienumerable = generic::ienumerable< xtd::any_object > | 
| Exposes an enumerator, which supports a simple iteration over a non-generic collection.   | |
| using | ienumerator = generic::ienumerator< xtd::any_object > | 
| Supports a simple iteration over a non-generic collection.   | |
| using | iequality_comparer = generic::iequality_comparer< xtd::any_object > | 
| Defines methods to support the comparison of objects for equality.   | |
| using | ilist = generic::ilist< xtd::any_object > | 
| Represents a non-generic collection of objects that can be individually accessed by index.   | |
| using | vector_list = array_list | 
| Represents a collection of std::any.   | |