ISortable
Short summary
An interface for classes that can be sorted. Mainly used in Lists.
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | CNM_AbstractObject.IObject | - |
UML Diagram
Properties
instant
Type: IInstantSortable
This property returns a fluent interface for immediate sorting operations that will finish wihtin one call.…
Methods
ascending
- Parameters:
comparator(CNM_AbstractObject.IComparator): Optional: the comparator that should be used for the sort. Must not be changed while sort is in processexecute(BOOL): control bit to start or abort the sorting, needs to be active until the ExecutionState is SUCCESS
- Return type: CNM_ReturnTypes.SingleExecutionState
This method sorts the data structure. …
descending
- Parameters:
execute(BOOL): control bit to start or abort the inverting, needs to be active until the ExecutionState is noz longer busycomparator(CNM_AbstractObject.IComparator): the comparator that should be used for the sort. Must not be changed while sort is in process
- Return type: CNM_ReturnTypes.SingleExecutionState
This method sorts the Sortable in the descending order, so from great to low…
Code
Declaration
INTERFACE ISortable EXTENDS CNM_AbstractObject.IObject