import { IEnumerable } from '../core/IEnumerable'; import { IParallelQueryable } from '../linq/IParallelQueryable'; import { IQueryable } from '../linq/IQuerable'; import { ICollection } from './ICollection'; import { IList } from './IList'; export interface IReadonlyCollection extends IEnumerable { contains(item: T): boolean; size: number; get(index: number): T; indexOf(item: T): number; lastIndexOf(item: T): number; join(separator?: string): string; toArray(): T[]; toCollection(): ICollection; toList(): IList; toSet(): Set; linq(): IQueryable; plinq(): IParallelQueryable; isEmpty(): boolean; }