Class HappyTree

java.lang.Object
com.madzera.happytree.core.HappyTree

public final class HappyTree extends Object
Helper class that provides the entry point of the HappyTree API.

This class has the sole objective of returning an instance of the TreeManager interface that will assist the API client to handle trees. With this instance, it is possible to access the respective TreeTransaction object.

From this, it is possible to handle trees and sessions and, consequently, the elements within the trees.

Author:
Diego Madson de Andrade Nóbrega
See Also:
  • Method Details

    • createTreeManager

      public static TreeManager createTreeManager()
      Returns an instance of TreeManager, representing the entry point of the HappyTree API.

      This is not a Singleton instance.

      Returns:
      an instance of TreeManager