E entry
) Add entry
to the beginning of the linked list.
Source
/**
* Add [entry] to the beginning of the linked list.
*/
void addFirst(E entry) {
_insertAfter(this, entry);
}
Add entry
to the beginning of the linked list.
/**
* Add [entry] to the beginning of the linked list.
*/
void addFirst(E entry) {
_insertAfter(this, entry);
}