Skip to main content

IIndexable

Short summary

An interface for classes that can assign indexes to objects and set/return them.

AccessAbstractFinalExtendsImplements
-NoNoCNM_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

This method returns ths index of the first object for which isEqual matches.

getObjectAt

This method returns the object at the given index.

insertObjectAt

This method adds the given object at the given index.

removeObjectAt

This method removes the element at the given index.

replaceObjectAt

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