Source
void forEachEntry(void f(DoubleLinkedQueueEntry<E> element)) {
_DoubleLinkedQueueEntry<E> entry = _sentinel._nextLink;
while (!identical(entry, _sentinel)) {
_DoubleLinkedQueueEntry<E> nextEntry = entry._nextLink;
_DoubleLinkedQueueElement<E> element = entry;
f(element);
entry = nextEntry;
}
}