Package com.aspose.tasks
Interface ITreeAlgorithm<T>
-
- Type Parameters:
T
- The type of object to apply method interface to.
- All Known Implementing Classes:
CheckCircuit
,ChildTasksCollector
,RemoveTask
,TreeAlgorithmBase
public interface ITreeAlgorithm<T>
Represents an algorithm that can be applied to a tree of objects
T
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
alg(T el, int level)
Processes a node of a tree.void
postAlg(T el, int level)
Called after processing of a node of a tree.void
preAlg(T el, int level)
Called before processing of a node of a tree.
-
-
-
Method Detail
-
alg
void alg(T el, int level)
Processes a node of a tree.
- Parameters:
el
- Node to process.level
- Tree node level.
-
postAlg
void postAlg(T el, int level)
Called after processing of a node of a tree.
- Parameters:
el
- Node to process.level
- Tree node level.
-
preAlg
void preAlg(T el, int level)
Called before processing of a node of a tree.
- Parameters:
el
- Node to process.level
- Tree node level.
-
-