跳转到主要内容
整数数组。
PropertyMethodDescription
Description整数数组。
ConstructorsIntArray IntArray()创建空数组。
IntArray IntArray( Int )带有 Int 参数的构造函数。创建一个仅包含该整数的数组。
MethodsInt Count()返回数组中的元素个数。
Int GetAt( Int )返回指定索引处的元素。
Void Add( Int )将一个整数追加到数组末尾。
Void Add( IntArray )将另一个数组追加到本数组末尾。
Void InsertAt( Int index, Int number )在索引 index 处插入一个整数。
Void DeleteAll()删除数组的所有元素。
Void DeleteAt( Int index )删除索引 index 处的元素。
Operators<<将整数添加到数组的二元运算符。