RaySupreme Script API
 All Data Structures Functions Pages
Public Member Functions
IntList Class Reference

Public Member Functions

 IntList ()
 
void clear (void)
 
void append (int value)
 
int at (int i)
 
int count (void)
 

Detailed Description

The IntList class contains a list of integers.

Constructor & Destructor Documentation

IntList::IntList ( )

Creates an empty list.

Member Function Documentation

void IntList::append ( int  value)

Appends an int to the end of the list.

Parameters
itemThe integer value to be appended.
int IntList::at ( int  i)

Returns the integer at the specified index.

Parameters
Theindex to be retrived.
Returns
The int value at the index position or null if the index was out of bounds.
void IntList::clear ( void  )

Clears the list.

int IntList::count ( void  )

Returns the number of integers inside the list.

Returns
The element count of this list.