Class BroadFirstForestIterator<D>

  • Type Parameters:
    D - is the type of the data inside the forest
    All Implemented Interfaces:
    Iterator<TreeNode<D,​?>>

    public class BroadFirstForestIterator<D>
    extends Object
    implements Iterator<TreeNode<D,​?>>
    This class is an iterator on a forest that replies the tree nodes.

    This iterator goes thru the trees in a broad-first order.

    Since:
    13.0
    Version:
    17.0 2020-01-04 14:41:41
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.core
    Maven Artifact Id:
    mathtree
    • Constructor Detail

      • BroadFirstForestIterator

        public BroadFirstForestIterator​(Iterator<Tree<D,​?>> iterator)
        Constructor.
        Parameters:
        iterator - is the iterator on the trees.