FMLiveSwitchLinkedListEnumerator Class Reference

A linked list enumerator. More...

Instance Methods

(FMLiveSwitchLinkedListNode< T > *) - currentNode
 Gets the current node. More...
 
(instancetype) - initWithRoot:
 Initializes a new instance of the FMLiveSwitchLinkedListEnumerator`1 class. More...
 
(bool) - moveNext
 Moves to the next node. More...
 
(void) - reset
 Resets this instance. More...
 

Class Methods

(FMLiveSwitchLinkedListEnumerator *) + linkedListEnumeratorWithRoot:
 Initializes a new instance of the FMLiveSwitchLinkedListEnumerator`1 class. More...
 

Protected Attributes

 __pad0__: NSObject- (T) current
 

Detailed Description

A linked list enumerator.

Method Documentation

◆ currentNode

- (FMLiveSwitchLinkedListNode<T>*) currentNode

Gets the current node.

◆ initWithRoot:

- (instancetype) initWithRoot: (FMLiveSwitchLinkedListNode< T > *)  root

Initializes a new instance of the FMLiveSwitchLinkedListEnumerator`1 class.

Parameters
rootThe root node.

◆ linkedListEnumeratorWithRoot:

+ (FMLiveSwitchLinkedListEnumerator*) linkedListEnumeratorWithRoot: (FMLiveSwitchLinkedListNode< T > *)  root

Initializes a new instance of the FMLiveSwitchLinkedListEnumerator`1 class.

Parameters
rootThe root node.

◆ moveNext

- (bool) moveNext

Moves to the next node.

◆ reset

- (void) reset

Resets this instance.

Member Data Documentation

◆ __pad0__

- __pad0__
protected