C# Class GitSharp.Core.TreeIterator

Datei anzeigen Open project: stschake/GitSharp Class Usage Examples

Public Methods

Method Description
TreeIterator ( Tree start ) : System

Construct a TreeIterator for visiting all non-tree nodes.

TreeIterator ( Tree start, Order order ) : System

Construct a TreeIterator for visiting all nodes in a tree in a given order

hasNext ( ) : bool
next ( ) : TreeEntry

Private Methods

Method Description
HasNextTreeEntry ( ) : bool
NextTreeEntry ( ) : TreeEntry
Step ( ) : bool
TreeIterator ( Tree start, Order order, bool visitTreeNode ) : System

Construct a TreeIterator.

Method Details

TreeIterator() public method

Construct a TreeIterator for visiting all non-tree nodes.
public TreeIterator ( Tree start ) : System
start Tree
return System

TreeIterator() public method

Construct a TreeIterator for visiting all nodes in a tree in a given order
public TreeIterator ( Tree start, Order order ) : System
start Tree Root node
order Order
return System

hasNext() public method

public hasNext ( ) : bool
return bool

next() public method

public next ( ) : TreeEntry
return TreeEntry