Contains generic collections definitions.
Modules | |
helpers | |
Contains helpers generic collections definitions. | |
Classes | |
class | xtd::collections::generic::comparer< type_t > |
Provides a base class for implementations of the xtd::collections::generic::icomparer <type_t> generic interface. More... | |
class | xtd::collections::generic::empty_comparer< type_t > |
Provides an empty comparer class. More... | |
class | xtd::collections::generic::enumerable_iterators< type_t, enumerable_t > |
Internal enumarable iterators definition. More... | |
class | xtd::collections::generic::enumerator< type_t > |
Supports a simple iteration over a generic collection. More... | |
class | xtd::collections::generic::icollection< type_t > |
Defines methods to manipulate generic collections. More... | |
class | xtd::collections::generic::icomparer< type_t > |
Exposes a method that compares two objects. More... | |
class | xtd::collections::generic::ienumerable< type_t > |
Exposes the enumerator, which supports a simple iteration over a collection of a specified type. More... | |
class | xtd::collections::generic::ienumerator< type_t > |
Supports a simple iteration over a generic collection. More... | |
class | xtd::collections::generic::iequality_comparer< type_t > |
Defines methods to support the comparison of objects for equality. More... | |
class | xtd::collections::generic::ilist< type_t > |
Represents a collection of objects that can be individually accessed by index. More... | |
class | xtd::collections::generic::list< type_t, allocator_t > |
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists. More... | |
Typedefs | |
template<typename key_t , typename value_t > | |
using | xtd::collections::generic::dictionary = std::unordered_map< key_t, value_t, helpers::hasher< key_t >, helpers::equator< key_t >, helpers::allocator< std::pair< const key_t, value_t > > > |
Represents a collection of keys and values. | |
template<typename type_t > | |
using | xtd::collections::generic::hash_set = std::unordered_set< type_t, helpers::hasher< type_t >, helpers::equator< type_t >, helpers::allocator< type_t > > |
Represents a set of values. | |
template<typename key_t , typename value_t > | |
using | xtd::collections::generic::key_value_pair = std::pair< key_t, value_t > |
Defines a key/value pair that can be set or retrieved. | |
template<typename key_t , typename value_t > | |
using | xtd::collections::generic::sorted_dictionary = std::map< key_t, value_t, helpers::comparer< key_t >, helpers::allocator< std::pair< const key_t, value_t > > > |
Represents a collection of key/value pairs that are sorted on the key. | |
template<typename type_t > | |
using | xtd::collections::generic::sorted_set = std::set< type_t, helpers::comparer< type_t >, helpers::allocator< type_t > > |
Represents a collection of objects that is maintained in sorted order. | |
using xtd::collections::generic::dictionary = typedef std::unordered_map<key_t, value_t, helpers::hasher<key_t>, helpers::equator<key_t>, helpers::allocator<std::pair<const key_t, value_t> >> |
#include <xtd.core/include/xtd/collections/generic/dictionary.hpp>
Represents a collection of keys and values.
using xtd::collections::generic::hash_set = typedef std::unordered_set<type_t, helpers::hasher<type_t>, helpers::equator<type_t>, helpers::allocator<type_t> > |
#include <xtd.core/include/xtd/collections/generic/hash_set.hpp>
Represents a set of values.
using xtd::collections::generic::key_value_pair = typedef std::pair<key_t, value_t> |
#include <xtd.core/include/xtd/collections/generic/key_value_pair.hpp>
Defines a key/value pair that can be set or retrieved.
using xtd::collections::generic::sorted_dictionary = typedef std::map<key_t, value_t, helpers::comparer<key_t>, helpers::allocator<std::pair<const key_t, value_t> >> |
#include <xtd.core/include/xtd/collections/generic/sorted_dictionary.hpp>
Represents a collection of key/value pairs that are sorted on the key.
using xtd::collections::generic::sorted_set = typedef std::set<type_t, helpers::comparer<type_t>, helpers::allocator<type_t> > |
#include <xtd.core/include/xtd/collections/generic/sorted_set.hpp>
Represents a collection of objects that is maintained in sorted order.