LinkedList::shift

(Available since version 1.0)

LinkedList::shiftShifts a node from the beginning of the singly linked list

Description

public mixed LinkedList::shift ( void )

Parameters

This function has no parameters.

Return Values

The value of the shifted node.

Errors/Exceptions

Throws SEIDS::LinkedLists::CantShiftFromEmptyException when the data-structure is empty.

To Top