Internal collection common definition.
Public Properties | |
| virtual bool | empty () const noexcept |
| Checks whether the container is empty. | |
| virtual xtd::size | size () const noexcept |
| Gets the number of elements contained in the xtd::collections::generic::icollection <type_t>. | |
Public Operators | |
| virtual collection_t & | operator<< (const type_t &item) |
| The shift left operator adds an item to the xtd::collections::generic::icollection <type_t>. | |
| virtual collection_t & | operator<< (type_t &&item) |
| The shift left operator adds an item to the xtd::collections::generic::icollection <type_t>. | |
| virtual collection_t & | operator>> (const type_t &item) |
| The shift right operator removes the first occurrence of a specific object from the xtd::collections::generic::icollection <type_t>. | |
|
inlinevirtualnoexcept |
Checks whether the container is empty.
true if container is empty; otherwise false.
|
inlinevirtualnoexcept |
Gets the number of elements contained in the xtd::collections::generic::icollection <type_t>.
|
inlinevirtual |
The shift left operator adds an item to the xtd::collections::generic::icollection <type_t>.
| item | The object to add to the xtd::collections::generic::icollection <type_t>. |
| xtd::not_supported_exception | The xtd::collections::generic::icollection <type_t> is read-only. |
|
inlinevirtual |
The shift left operator adds an item to the xtd::collections::generic::icollection <type_t>.
| item | The object to add to the xtd::collections::generic::icollection <type_t>. |
| xtd::not_supported_exception | The xtd::collections::generic::icollection <type_t> is read-only. |
|
inlinevirtual |
The shift right operator removes the first occurrence of a specific object from the xtd::collections::generic::icollection <type_t>.
| item | The object to remove from the xtd::collections::generic::icollection <type_t>. |
| xtd::not_supported_exception | The xtd::collections::generic::icollection <type_t> is read-only. |