Interface IVectorView

Hierarchy

Index

Properties

Methods

Properties

public length: number

public size: number

Methods

public concat(items?: Array<T[]>): Array<T>

Parameters

  • items?: Array<T[]> optional

Returns

Array<T>

public every(callbackfn: (value: T, index: number, array: T[]) => boolean): boolean

Parameters

  • callbackfn: (value: T, index: number, array: T[]) => boolean

Returns

boolean

public every(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg: any): boolean

Parameters

  • callbackfn: (value: T, index: number, array: T[]) => boolean
  • thisArg: any

Returns

boolean

public filter(callbackfn: (value: T, index: number, array: T[]) => boolean): Array<T>

Parameters

  • callbackfn: (value: T, index: number, array: T[]) => boolean

Returns

Array<T>

public filter(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg: any): Array<T>

Parameters

  • callbackfn: (value: T, index: number, array: T[]) => boolean
  • thisArg: any

Returns

Array<T>

public first(): IIterator

Returns

IIterator

public forEach(callbackfn: (value: T, index: number, array: T[]) => void)

Parameters

  • callbackfn: (value: T, index: number, array: T[]) => void

public forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg: any)

Parameters

  • callbackfn: (value: T, index: number, array: T[]) => void
  • thisArg: any

public getAt(index: number): T in Windows.Foundation.Collections.IVectorView<T>

Parameters

  • index: number

Returns

T in Windows.Foundation.Collections.IVectorView<T>

public getMany(startIndex: number): { items: T[]; returnValue: number; }

Parameters

  • startIndex: number

Returns

{ items: T[]; returnValue: number; }

public indexOf(value: T in Windows.Foundation.Collections.IVectorView<T>): { index: number; returnValue: boolean; }

Parameters

  • value: T in Windows.Foundation.Collections.IVectorView<T>

Returns

{ index: number; returnValue: boolean; }

public join(seperator: string): string

Parameters

  • seperator: string

Returns

string

public lastIndexOf(searchElement: T in Windows.Foundation.Collections.IVectorView<T>): number

Parameters

  • searchElement: T in Windows.Foundation.Collections.IVectorView<T>

Returns

number

public lastIndexOf(searchElement: T in Windows.Foundation.Collections.IVectorView<T>, fromIndex: number): number

Parameters

  • searchElement: T in Windows.Foundation.Collections.IVectorView<T>
  • fromIndex: number

Returns

number

public map(callbackfn: (value: T, index: number, array: T[]) => any): Array<any>

Parameters

  • callbackfn: (value: T, index: number, array: T[]) => any

Returns

Array<any>

public map(callbackfn: (value: T, index: number, array: T[]) => any, thisArg: any): Array<any>

Parameters

  • callbackfn: (value: T, index: number, array: T[]) => any
  • thisArg: any

Returns

Array<any>

public pop(): T in Windows.Foundation.Collections.IVectorView<T>

Returns

T in Windows.Foundation.Collections.IVectorView<T>

public push(items?: Array<T>)

Parameters

  • items?: Array<T> optional

public reduce(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: T[]) => any): any

Parameters

  • callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: T[]) => any

Returns

any

public reduce(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: T[]) => any, initialValue: any): any

Parameters

  • callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: T[]) => any
  • initialValue: any

Returns

any

public reduceRight(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: T[]) => any): any

Parameters

  • callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: T[]) => any

Returns

any

public reduceRight(callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: T[]) => any, initialValue: any): any

Parameters

  • callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array: T[]) => any
  • initialValue: any

Returns

any

public reverse(): Array<T>

Returns

Array<T>

public shift(): T in Windows.Foundation.Collections.IVectorView<T>

Returns

T in Windows.Foundation.Collections.IVectorView<T>

public slice(start: number): Array<T>

Parameters

  • start: number

Returns

Array<T>

public slice(start: number, end: number): Array<T>

Parameters

  • start: number
  • end: number

Returns

Array<T>

public some(callbackfn: (value: T, index: number, array: T[]) => boolean): boolean

Parameters

  • callbackfn: (value: T, index: number, array: T[]) => boolean

Returns

boolean

public some(callbackfn: (value: T, index: number, array: T[]) => boolean, thisArg: any): boolean

Parameters

  • callbackfn: (value: T, index: number, array: T[]) => boolean
  • thisArg: any

Returns

boolean

public sort(): Array<T>

Returns

Array<T>

public sort(compareFn: (a: T, b: T) => number): Array<T>

Parameters

  • compareFn: (a: T, b: T) => number

Returns

Array<T>

public splice(start: number): Array<T>

Parameters

  • start: number

Returns

Array<T>

public splice(start: number, deleteCount: number, items?: Array<T>): Array<T>

Parameters

  • start: number
  • deleteCount: number
  • items?: Array<T> optional

Returns

Array<T>

public toLocaleString(): string

Returns

string

public toString(): string

Returns

string

public unshift(items?: Array<T>): number

Parameters

  • items?: Array<T> optional

Returns

number