W3cubDocs

/Dart 2

LinkedListEntry<E extends LinkedListEntry<E>> class

An object that can be an element in a LinkedList.

All elements of a LinkedList must extend this class. The class provides the internal links that link elements together in the LinkedList, and a reference to the linked list itself that an element is currently part of.

An entry can be in at most one linked list at a time. While an entry is in a linked list, the list property points to that linked list, and otherwise the list property is null.

When created, an entry is not in any linked list.

Constructors

LinkedListEntry()

Properties

listLinkedList<E>
read-only
Get the linked list containing this element. [...]
next → E
read-only
Return the successor of this element in its linked list. [...]
previous → E
read-only
Return the predecessor of this element in its linked list. [...]
hashCodeint
read-only, inherited
The hash code for this object. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

insertAfter(E entry) → void
Insert an element after this element in this element's linked list. [...]
insertBefore(E entry) → void
Insert an element before this element in this element's linked list. [...]
Unlink the element from its linked list. [...]
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-collection/LinkedListEntry-class.html