GoLang SplDoublyLinkedList::bottom

request it (243)
GoLang replacement for PHP's SplDoublyLinkedList::bottom [edit | history]



Do you know a GoLang replacement for PHP's SplDoublyLinkedList::bottom? Write it!

PHP SplDoublyLinkedList::bottom

PHP original manual for SplDoublyLinkedList::bottom [ show | php.net ]

SplDoublyLinkedList::bottom

(PHP 5 >= 5.3.0, PHP 7)

SplDoublyLinkedList::bottomPeeks at the node from the beginning of the doubly linked list

Description

public mixed SplDoublyLinkedList::bottom ( void )

Parameters

This function has no parameters.

Return Values

The value of the first node.

Errors/Exceptions

Throws RuntimeException when the data-structure is empty.