1 | import { IEnumerable } from "./interface/IEnumerable";
|
2 | import IEnumerator from "./interface/IEnumerator";
|
3 | export declare abstract class Collection<T> implements IEnumerable<T> {
|
4 | getEnumerator(): IEnumerator<T>;
|
5 | toArray(): T[];
|
6 | protected abstract __iterate(fn: (item: T, index: number) => void): void;
|
7 | }
|