Contains standard libraries for ZenCode.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1234567891011121314151617
  1. [Native("stdlib::List")]
  2. export class List<T> {
  3. [Native("constructor")]
  4. public this() {}
  5. [Native("add")]
  6. public add(value as T) as void;
  7. [Native("getIndex")]
  8. public [](index as int) as T;
  9. [Native("setIndex")]
  10. public []=(index as int, value as T) as T;
  11. [Native("toArray")]
  12. public as T[];
  13. [Native("length")]
  14. public get length as int;
  15. [Native("isEmpty")]
  16. public get isEmpty as bool;
  17. }