6#include "../../size.hpp"
12 namespace collections {
32 template<
class type_t>
50 virtual bool add(
const type_t& item)
noexcept = 0;
Defines methods to manipulate generic collections.
Definition icollection.hpp:45
typename xtd::collections::generic::ienumerable< type_t >::const_iterator const_iterator
Represents the const iterator of xtd::collections::generic::ienumerable value type.
Definition icollection.hpp:55
typename xtd::collections::generic::ienumerable< type_t >::iterator iterator
Represents the iterator of xtd::collections::generic::ienumerable value type.
Definition icollection.hpp:53
Exposes the enumerator, which supports a simple iteration over a collection of a specified type.
Definition ienumerable.hpp:36
Provides the base interface for the abstraction of sets.
Definition iset.hpp:33
virtual bool is_proper_superset_of(const xtd::collections::generic::ienumerable< type_t > &other) const noexcept=0
Determines whether the current set is a proper (strict) superset of a specified collection.
virtual bool is_proper_subset_of(const xtd::collections::generic::ienumerable< type_t > &other) const noexcept=0
Determines whether the current set is a proper (strict) superset of a specified collection.
virtual bool set_equals(const xtd::collections::generic::ienumerable< type_t > &other) const noexcept=0
Determines whether the current set and the specified collection contain the same elements.
virtual bool is_subset_of(const xtd::collections::generic::ienumerable< type_t > &other) const noexcept=0
Determines whether a set is a subset of a specified collection.
virtual void intersec_with(const xtd::collections::generic::ienumerable< type_t > &other) noexcept=0
Modifies the current set so that it contains only elements that are also in a specified collection.
virtual bool overlaps(const xtd::collections::generic::ienumerable< type_t > &other) const noexcept=0
Determines whether the current set overlaps with the specified collection.
virtual void symetric_excep_with(const xtd::collections::generic::ienumerable< type_t > &other) noexcept=0
Modifies the current set so that it contains only elements that are present either in the current set...
virtual bool is_superset_of(const xtd::collections::generic::ienumerable< type_t > &other) const noexcept=0
Determines whether a set is a superset of a specified collection.
virtual void except_with(const xtd::collections::generic::ienumerable< type_t > &other) noexcept=0
Removes all elements in the specified collection from the current set.
typename icollection< type_t >::iterator iterator
Represents the iterator of xtd::collections::generic::ienumerable value type.
Definition iset.hpp:39
virtual void union_with(const xtd::collections::generic::ienumerable< type_t > &other) noexcept=0
Modifies the current set so that it contains all elements that are present in the current set,...
typename icollection< type_t >::const_iterator const_iterator
Represents the const iterator of xtd::collections::generic::ienumerable value type.
Definition iset.hpp:41
virtual bool add(const type_t &item) noexcept=0
Adds an element to the current set and returns a value to indicate if the element was successfully ad...
@ other
The operating system is other.
Contains xtd::collections::ienumerator alias.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10