IList
Short summary
Interface for list classes. Every list should implement this interface. Lists contain CNM_AbstractObject.IObject as elements.
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | CNM_AbstractObject.IObject, ICollection, IInvertable | - |
UML Diagram
Properties
sort
Type: ISortable
This property returns strategies to sort the list in a desired order.…
Methods
append
- Parameters:
object(CNM_AbstractObject.IObject): The object to be appended
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method adds the given CNM_AbstractObject.IObject to the end of the list.…
appendCollection
- Parameters:
collectionToAppend(ICollection): The collection to be appended
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method adds all elements of the given collection to the end of this list.…
dequeue
- Return type: CNM_AbstractObject.IObject
This method returns the first object in the list and removes it from the list.…
pop
- Return type: CNM_AbstractObject.IObject
This method returns the last object in the list and removes it from the list.…
prepend
- Parameters:
object(CNM_AbstractObject.IObject): The object to be prepended
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method adds the given obejct to the end of the list.…
prependCollection
- Parameters:
collectionToPrepend(ICollection): The collection to be prepended
- Return type: CNM_ReturnTypes.SingleExecutionResult
This method adds all elements of the given collection to the start of this list. …
remove
- Parameters:
object(CNM_AbstractObject.IObject): The object to be removed from the list
- Return type:
VOID
This method removes the first instance of the given object from the list.…
Code
Declaration
INTERFACE IList EXTENDS CNM_AbstractObject.IObject, ICollection, IInvertable