CollectionFactory
Short summary
Class that provides factory methods for new collection instances.
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | CNM_AbstractObject.Object | CNM_CollectionInterfaces.ICollectionFactory |
UML Diagram
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object, …
Methods
clone
- Return type: CNM_ReturnTypes.CloneResult
This method is used to create a new instance…
deepClone
- Return type: CNM_ReturnTypes.CloneResult
This method is used to create a new instance…
getNewArrayList
- Return type: CNM_ReturnTypes.SingleExecutionResult
A method to generate a new ArrayList.…
getNewArrayListMergeSorter
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method will create a new MergeSorter…
getNewArrayListShellsorter
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method will create a new shellsorter that can sort an Arraylist…
getNewBBSTree
- Parameters:
comparator(CNM_AbstractObject.IComparator): optional custom comparator
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method can be used to dynamically create a __NEW binary balanced search tree.…
getNewBBSTreeNode
- Parameters:
object(CNM_AbstractObject.IObject): the object that should be wrapped
- Return type: CNM_ReturnTypes.SingleExecutionResult
function to create a new balanced binary searchtree node…
getNewDoublyLinkedElement
- Parameters:
object(CNM_AbstractObject.IObject): the dataobject to be contained inside the elementpreviousElement(CNM_CollectionInterfaces.IDoublyLinkedElement): the previous element to link tonextElement(CNM_CollectionInterfaces.IDoublyLinkedElement): the next element to link tolinkElements(BOOL): a flag if the link to next and previous should be created
- Return type: CNM_ReturnTypes.SingleExecutionResult
Method to create new Instance of DoublyLinkedElements and automatically link with other ellements.…
getNewLinkedList
- Return type: CNM_ReturnTypes.SingleExecutionResult
A method to generate a new LinkedList.…
getNewLinkedListMergeSorter
This method will create a new MergeSorter for linked lists.…
Code
Declaration
FUNCTION_BLOCK CollectionFactory EXTENDS CNM_AbstractObject.Object IMPLEMENTS CNM_CollectionInterfaces.ICollectionFactory