Class TreeLeaf<T>

java.lang.Object
org.ametys.cms.search.advanced.AbstractTreeNode<T>
org.ametys.cms.search.advanced.TreeLeaf<T>
Type Parameters:
T - the type of the value of the leaf.

public final class TreeLeaf<T> extends AbstractTreeNode<T>
This class represents a leaf in a tree data structure.
  • Constructor Details

    • TreeLeaf

      public TreeLeaf(T value)
      Constructs a new leaf in a tree data structure with the given value.
      Parameters:
      value - the value
  • Method Details

    • getValue

      public T getValue()
      Gets the value
      Returns:
      the value