7#ifndef MFRAME_2F39A480_5C64_4E09_A926_7560E6BFF274
8#define MFRAME_2F39A480_5C64_4E09_A926_7560E6BFF274
17#include "./../lang/Interface.h"
39template <
typename E =
void*>
51 virtual int length(
void)
const abstract;
61 virtual int indexOf(E& element)
const abstract;
72 virtual E&
get(
int index)
const abstract;
84 virtual bool set(E
const& e,
int index) abstract;
[Interface] 通用陣列介面
Definition Array.h:40
virtual int length(void) const override
取得陣列長度
virtual bool set(E const &e, int index) override
設置指定索引的元素值
virtual E & get(int index) const override
取得指定索引的元素
virtual int elementSize(void) const override
取得元素大小
virtual int indexOf(E &element) const override
搜尋元素位置