Skip to main content

IList

Short summary

Interface for list classes. Every list should implement this interface. Lists contain CNM_AbstractObject.IObject as elements.

AccessAbstractFinalExtendsImplements
-NoNoCNM_AbstractObject.IObject, ICollection, IInvertable-

UML Diagram

Properties

sort

Type: ISortable

This property returns strategies to sort the list in a desired order.

Methods

append

This method adds the given CNM_AbstractObject.IObject to the end of the list.

appendCollection

This method adds all elements of the given collection to the end of this list.

dequeue

This method returns the first object in the list and removes it from the list.

pop

This method returns the last object in the list and removes it from the list.

prepend

This method adds the given obejct to the end of the list.

prependCollection

This method adds all elements of the given collection to the start of this list.

remove

This method removes the first instance of the given object from the list.

Code

Declaration

INTERFACE IList  EXTENDS CNM_AbstractObject.IObject, ICollection, IInvertable