IIndexable
Short summary
An interface for classes that can assign indexes to objects and set/return them.
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | CNM_AbstractObject.IObject | - |
UML Diagram
Properties
resizingStrategy
Type: IResizingStrategy
This property can be used to inject a customized resizing strategy for arrays and containers. …
Methods
getIndexOf
- Parameters:
object(CNM_AbstractObject.IObject): the object to get the index from
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method returns ths index of the first object for which isEqual matches.…
getObjectAt
- Parameters:
index(UDINT): the index to access the object from
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method returns the object at the given index.…
insertObjectAt
- Parameters:
index(UDINT): the index to insert the object atobject(CNM_AbstractObject.IObject): the object to be added
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method adds the given object at the given index. …
removeObjectAt
- Parameters:
index(UDINT): the index to remove the object from
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method removes the element at the given index. …
replaceObjectAt
- Parameters:
index(UDINT): the index to replace the object atwithObject(CNM_AbstractObject.IObject): the object to be at this index instead
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method replaces the Interface reference inside the collection at the given index with the given Interface.…
Code
Declaration
INTERFACE IIndexable EXTENDS CNM_AbstractObject.IObject