Represents a node in a LinkedList<T>. This class cannot be inherited.
Public Aliases | |
| using | value_type |
| Represents the linked list node value type. | |
| using | linked_list_type |
| Represents the linked list type. | |
| using | base_type |
| Represents the linked list base type. | |
| using | size_type |
| Represents the size type. | |
Public Constructors | |
| linked_list_node (const value_type &value) | |
| Initializes a new instance of the xtd::collections::generic::linked_list_node <type_t> class, containing the specified value. | |
Public Properties | |
| auto | list () const noexcept -> xtd::ref< const linked_list< type_t > > |
| Gets the xtd::collections::generic::linked_list <type_t> that the xtd::collections::generic::linked_list_node <type_t> belongs to. | |
| auto | next () const -> xtd::optional< linked_list_node > |
| Gets the next node in the LinkedList<T>. | |
| auto | previous () const -> xtd::optional< linked_list_node > |
| Gets the previous node in the LinkedList<T>. | |
| auto | value () const -> const value_type & |
| Gets the value contained in the node. | |
| auto | value () -> value_type & |
| Gets the value contained in the node. | |
Additional Inherited Members | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. | |
| virtual xtd::size | get_hash_code () const noexcept |
| Serves as a hash function for a particular type. | |
| virtual type_object | get_type () const noexcept |
| Gets the type of the current instance. | |
| template<class object_t> | |
| xtd::unique_ptr_object< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object. | |
| virtual xtd::string | to_string () const noexcept |
| Returns a xtd::string that represents the current object. | |
| template<class object_a_t, class object_b_t> | |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal. | |
| template<class object_a_t, class object_b_t> | |
| static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance. | |
| using xtd::collections::generic::linked_list_node< type_t >::value_type |
Represents the linked list node value type.
| using xtd::collections::generic::linked_list_node< type_t >::linked_list_type |
Represents the linked list type.
| using xtd::collections::generic::linked_list_node< type_t >::base_type |
Represents the linked list base type.
| using xtd::collections::generic::linked_list_node< type_t >::size_type |
Represents the size type.
|
inline |
Initializes a new instance of the xtd::collections::generic::linked_list_node <type_t> class, containing the specified value.
| The | value to contain in the xtd::collections::generic::linked_list_node <type_t>. |
|
inlinenoexcept |
Gets the xtd::collections::generic::linked_list <type_t> that the xtd::collections::generic::linked_list_node <type_t> belongs to.
|
inline |
Gets the next node in the LinkedList<T>.
|
inline |
Gets the previous node in the LinkedList<T>.
|
inline |
Gets the value contained in the node.
|
inline |
Gets the value contained in the node.