Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions
LinkedList< T > Class Template Reference
Inheritance diagram for LinkedList< T >:
LinkedListBase

Public Member Functions

T * head ()
 Return the element at the head of the list. More...
 
void enqueue (T *entry)
 Add an element to the tail of the list. More...
 
T * dequeue ()
 Remove the element at the head of the list. More...
 
void enqueue (LinkEntry *entry)
 Add an element to the tail of the list. More...
 
void remove (LinkEntry *entry)
 Remove the specified element if it is in the list. More...
 

Detailed Description

template<class T>
class LinkedList< T >

Definition at line 30 of file LinkedList.h.

Member Function Documentation

T* dequeue ( )

Remove the element at the head of the list.

Returns
The element at the head of the list or NULL if the list is empty

Definition at line 60 of file LinkedList.h.

void enqueue ( LinkEntry entry)
inherited

Add an element to the tail of the list.

Parameters
entryNew element to add
void enqueue ( T *  entry)

Add an element to the tail of the list.

Parameters
entryNew element to add

Definition at line 50 of file LinkedList.h.

T* head ( )

Return the element at the head of the list.

Returns
The element at the head of the list or NULL if the list is empty

Definition at line 40 of file LinkedList.h.

void remove ( LinkEntry entry)
inherited

Remove the specified element if it is in the list.

Parameters
entryElement to remove from the list
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.