I_Immutable_Array (Interface)

Interface for an immutable array.

Extends: I_Immutable_Collection

Properties

_Begin

Type: T_Position

Index of the first element.

_End

Type: T_Position

Index of the last element.

Methods

Contains

Returns: BOOL

Checks if item is contained in array.

Inputs

Name

Type

Description

Item

ANY

Item to find.

Get

Returns: I_Immutable_Array

Gets item from array at specified location.

Inputs

Name

Type

Description

Index

T_Position

Location of item.

Item

ANY

Variable to store returned item.

Outputs

Name

Type

Description

bSuccess

BOOL

Get_As_String

Returns: I_Immutable_Array

Returns item as a string, if type to string conversion is supported.

Inputs

Name

Type

Description

Index

T_Position

Location of item.

sItem

REFERENCE TO STRING

Variable to store returned item.

Outputs

Name

Type

Description

bSuccess

BOOL

Get_Type_At

Returns: I_Immutable_Array

Gets the type of the item at specified location.

Inputs

Name

Type

Description

Index

T_Position

Outputs

Name

Type

Description

Item_Type

T_Type

bSuccess

BOOL