GrammarScope  4.0.0
Public Member Functions | Private Attributes | List of all members
grammarscope.artifacts.BasicTree< T extends BasicTree< T >.TreeIterator< T extends BasicTree< T > Class Template Reference
Inheritance diagram for grammarscope.artifacts.BasicTree< T extends BasicTree< T >.TreeIterator< T extends BasicTree< T >:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.artifacts.BasicTree< T extends BasicTree< T >.TreeIterator< T extends BasicTree< T >:
Collaboration graph
[legend]

Public Member Functions

 TreeIterator (final LinkedList< BasicTree< T >> queue)
 
boolean hasNext ()
 
BasicTree< T > next ()
 
void remove ()
 

Private Attributes

final LinkedList< BasicTree< T > > queue
 

Detailed Description

Tree iterator on nodes

Parameters
<T>node type

Constructor & Destructor Documentation

◆ TreeIterator()

grammarscope.artifacts.BasicTree< T extends BasicTree< T >.TreeIterator< T extends BasicTree< T >.TreeIterator ( final LinkedList< BasicTree< T >>  queue)

Constructor

Parameters
queuequeue of nodes as built by above classes

Member Function Documentation

◆ hasNext()

boolean grammarscope.artifacts.BasicTree< T extends BasicTree< T >.TreeIterator< T extends BasicTree< T >.hasNext ( )

◆ next()

BasicTree<T> grammarscope.artifacts.BasicTree< T extends BasicTree< T >.TreeIterator< T extends BasicTree< T >.next ( )

◆ remove()

void grammarscope.artifacts.BasicTree< T extends BasicTree< T >.TreeIterator< T extends BasicTree< T >.remove ( )

Member Data Documentation

◆ queue

final LinkedList<BasicTree<T> > grammarscope.artifacts.BasicTree< T extends BasicTree< T >.TreeIterator< T extends BasicTree< T >.queue
private

The documentation for this class was generated from the following file: