DoubleLinkedQueueEntry class - dart:collection library (original) (raw)

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.

getter/setter pair

hashCodeint

The hash code for this object.

no setterinherited

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

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 nonexistent 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