Метод removeLast
E removeLast(Удаляет и возвращает последний элемент очереди.
Очередь не должна быть пустой при вызове этого метода.
Исходный код
E removeLast() {
_DoubleLinkedQueueEntry<E> lastEntry = _sentinel._previousLink;
E result = lastEntry._remove();
_elementCount--;
return result;
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-collection/DoubleLinkedQueue/removeLast.html