Skip to main content

AbstractLinkedListSorter

Short summary

Abstract base class for LinkedListSorters. Handles the head and last properties as well as the clone.

AccessAbstractFinalExtendsImplements
INTERNALYesNoAbstractListSorterCNM_CollectionInterfaces.ILinkedListSorter

UML Diagram

Parameters

none

Methods

instantInverseSort

This method sorts the data structure instantly in descending order within one call.

inverseSort

This method sorts the Sortable in the inverted order, so from great to low

Abstract methods

instantSort

This method sorts the data structure instantly within one call.

sort

This method sorts the data structure.

Code

Declaration

FUNCTION_BLOCK INTERNAL ABSTRACT AbstractLinkedListSorter EXTENDS AbstractListSorter IMPLEMENTS CNM_CollectionInterfaces.ILinkedListSorter
VAR
sorterHead :CNM_CollectionInterfaces.IDoublyLinkedElement;
sorterLast :CNM_CollectionInterfaces.IDoublyLinkedElement;
END_VAR