UNPKG

nowjs-core

Version:

NowCanDo Javascript Core [nowjs-core] is a library written by TypeScript code maintains under Apache 2.0 licence

21 lines (20 loc) 676 B
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<T> extends IEnumerable<T> { 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<T>; toList(): IList<T>; toSet(): Set<T>; linq(): IQueryable<T>; plinq(): IParallelQueryable<T>; isEmpty(): boolean; }