DoubleLinkedQueueEntry<E> class Null safety

An entry in a doubly linked list.

Such an entry contains an element and a link to the previous or next entries, if any.

Constructors

DoubleLinkedQueueEntry(E element)
Creates a new entry with the given element.

Properties

element ↔ E
The element of the entry in the queue.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

append(E e) → void
Appends the given element e as entry just after this entry.
nextEntry() DoubleLinkedQueueEntry<E>?
The next entry, or null if there is none.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
prepend(E e) → void
Prepends the given e as entry just before this entry.
previousEntry() DoubleLinkedQueueEntry<E>?
The previous entry, or null if there is none.
remove() → E
Removes this entry from any chain of entries it is part of. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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