Contains generic collections definitions.
Modules | |
extensions | |
Contain generic collections and interfaces extensions. | |
helpers | |
Contains generic collections helpers 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::dictionary< key_t, value_t, hasher_t, equator_t, allocator_t > |
Represents a collection of keys and values. More... | |
class | xtd::collections::generic::empty_comparer< type_t > |
Provides an empty comparer class. More... | |
struct | xtd::collections::generic::enumerator< type_t > |
Supports a simple iteration over a generic collection. More... | |
struct | xtd::collections::generic::enumerator<> |
Supports a simple iteration over a generic collection. More... | |
class | xtd::collections::generic::equality_comparer< type_t > |
Provides a base class for implementations of the xtd::collections::generic::iequality_comparer <type_t> generic interface. 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::idictionary< key_t, value_t > |
Represents a generic collection of key/value pairs. 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::iset< type_t > |
Provides the base interface for the abstraction of sets. More... | |
struct | xtd::collections::generic::key_value_pair< key_t, value_t > |
Defines a key/value pair that can be set or retrieved. More... | |
struct | xtd::collections::generic::key_value_pair<> |
Defines a key/value pair that can be set or retrieved. 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<class type_t , class hasher_t = xtd::collections::generic::helpers::hasher<type_t>, class equator_t = xtd::collections::generic::helpers::equator<type_t>, class allocator_t = xtd::collections::generic::helpers::allocator<type_t>> | |
using | xtd::collections::generic::hash_set = std::unordered_set< type_t, hasher_t, equator_t, allocator_t > |
Represents a set of values. | |
template<class type_t , class allocator_t = xtd::collections::generic::helpers::allocator<type_t>> | |
using | xtd::collections::generic::linked_list = std::forward_list< type_t, allocator_t > |
Represents a doubly linked list. | |
template<class type_t , class container_t = std::deque<type_t>> | |
using | xtd::collections::generic::queue = std::stack< type_t, container_t > |
Represents a collection of objects that is maintained in sorted order. | |
template<class key_t , class value_t , class lesser_t = helpers::lesser<key_t>, class allocator_t = helpers::allocator<std::pair<const key_t, value_t>>> | |
using | xtd::collections::generic::sorted_dictionary = dictionary< key_t, value_t, helpers::hasher< key_t >, helpers::equator< key_t >, allocator_t > |
Represents a collection of key/value pairs that are sorted on the key. | |
template<class key_t , class value_t , class allocator_t = helpers::allocator<std::pair<const key_t, value_t>>> | |
using | xtd::collections::generic::sorted_list = sorted_dictionary< key_t, value_t, helpers::lesser< key_t >, allocator_t > |
Represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index. | |
template<class type_t , class lesser_t = xtd::collections::generic::helpers::lesser<type_t>, class allocator_t = xtd::collections::generic::helpers::allocator<type_t>> | |
using | xtd::collections::generic::sorted_set = std::set< type_t, lesser_t, allocator_t > |
Represents a collection of objects that is maintained in sorted order. | |
template<class type_t , class container_t = std::deque<type_t>> | |
using | xtd::collections::generic::stack = std::stack< type_t, container_t > |
Represents a variable size last-in-first-out (LIFO) collection of instances of the same specified type. | |
template<class type_t > | |
using | xtd::collections::generic::type_to_list_t = typename std::conditional< std::is_same< bool, type_t >::value, char, type_t >::type |
Represents the type to list type. | |
using xtd::collections::generic::hash_set = typedef std::unordered_set<type_t, hasher_t, equator_t, allocator_t> |
#include <xtd.core/include/xtd/collections/generic/hash_set.hpp>
Represents a set of values.
using xtd::collections::generic::linked_list = typedef std::forward_list<type_t, allocator_t> |
#include <xtd.core/include/xtd/collections/generic/linked_list.hpp>
Represents a doubly linked list.
using xtd::collections::generic::queue = typedef std::stack<type_t, container_t> |
#include <xtd.core/include/xtd/collections/generic/queue.hpp>
Represents a collection of objects that is maintained in sorted order.
using xtd::collections::generic::sorted_dictionary = typedef dictionary<key_t, value_t, helpers::hasher<key_t>, helpers::equator<key_t>, allocator_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_list = typedef sorted_dictionary<key_t, value_t, helpers::lesser<key_t>, allocator_t> |
#include <xtd.core/include/xtd/collections/generic/sorted_list.hpp>
Represents a collection of key/value pairs that are sorted by the keys and are accessible by key and by index.
using xtd::collections::generic::sorted_set = typedef std::set<type_t, lesser_t, allocator_t> |
#include <xtd.core/include/xtd/collections/generic/sorted_set.hpp>
Represents a collection of objects that is maintained in sorted order.
using xtd::collections::generic::stack = typedef std::stack<type_t, container_t> |
#include <xtd.core/include/xtd/collections/generic/stack.hpp>
Represents a variable size last-in-first-out (LIFO) collection of instances of the same specified type.
using xtd::collections::generic::type_to_list_t = typedef typename std::conditional<std::is_same<bool, type_t>::value, char, type_t>::type |
#include <xtd.core/include/xtd/internal/__list_definition.hpp>
Represents the type to list type.