Skip to main content

LinkedListMergeSorter

Short summary

Implementation of an Inplace Mergesorter for the LinkedList

AccessAbstractFinalExtendsImplements
-NoNoAbstractLinkedListSorter-

UML Diagram

Properties

className

Type: CNM_AbstractObject.ClassName

This abstract property returns the class name of the concrete object,

Methods

clone

This method is used to create a new instance

instantSort

This method sorts the data structure instantly within one call.

merge

Does an inplace ordered Merge of two list sections, that are defined by their first object and the length of the section.

moveRemainingElements

sort

This method sorts the data structure.

Code

Declaration

{attribute 'enable_dynamic_creation'}
FUNCTION_BLOCK LinkedListMergeSorter EXTENDS AbstractLinkedListSorter