Package com.aspose.tasks
Interface IAlgorithm<T>
-
- Type Parameters:
T
- The type of object to apply method interface to.
public interface IAlgorithm<T>
Represents an algorithm that can be applied to a list of objects
T
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
alg(T el, int index)
Processes an object in the list.void
postAlg(T el, int index)
Called after processing of an object.void
preAlg(T el, int index)
Called before processing of an object.
-
-
-
Method Detail
-
alg
void alg(T el, int index)
Processes an object in the list. Called after
IAlgorithm#preAlg(T, int)
;- Parameters:
el
- Processed object.index
- Index of the object.
-
postAlg
void postAlg(T el, int index)
Called after processing of an object.
- Parameters:
el
- Processed object.index
- Index of the object.
-
preAlg
void preAlg(T el, int index)
Called before processing of an object.
- Parameters:
el
- Processed object.index
- Index of the object.
-
-