Class ArrayForest<D>

  • Type Parameters:
    D - is the type of the data inside the forest
    All Implemented Interfaces:
    Iterable<Tree<D,​?>>, Collection<Tree<D,​?>>, Forest<D>

    public class ArrayForest<D>
    extends AbstractForest<D>
    This is a array implementation of a forest of trees.
    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

      • ArrayForest

        protected ArrayForest()
        Construct a forest.
      • ArrayForest

        protected ArrayForest​(Collection<? extends Tree<D,​?>> trees)
        Constructor.
        Parameters:
        trees - is the trees to put inside the forest.