com.aspose.tasks

Interfaces

Classes

Exceptions

Class TreeAlgorithmBase<T>

    • Constructor Detail

      • TreeAlgorithmBase

        public TreeAlgorithmBase()
    • Method Detail

      • alg

        public abstract void alg​(T el,
                                 int level)

        Processes a node of a tree.

        Specified by:
        alg in interface ITreeAlgorithm<T>
        Parameters:
        el - Node to process.
        level - Tree node level.
      • postAlg

        public void postAlg​(T el,
                            int level)

        Called after processing of a node of a tree.

        Specified by:
        postAlg in interface ITreeAlgorithm<T>
        Parameters:
        el - Node to process.
        level - Tree node level.
      • preAlg

        public void preAlg​(T el,
                           int level)

        Called before processing of a node of a tree.

        Specified by:
        preAlg in interface ITreeAlgorithm<T>
        Parameters:
        el - Node to process.
        level - Tree node level.