Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Uint8ClampedList

Hierarchy

  • Uint8ClampedList

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private Readonly _dart_add

_dart_add: (value: number) => void = ...

Type declaration

    • (value: number): void
    • Parameters

      • value: number

      Returns void

Private Readonly _dart_addAll

_dart_addAll: (iterable: IIterable<number>) => void = ...

Type declaration

Private Readonly _dart_any

_dart_any: (test: (element: number) => boolean) => boolean = ...

Type declaration

    • (test: (element: number) => boolean): boolean
    • Parameters

      • test: (element: number) => boolean
          • (element: number): boolean
          • Parameters

            • element: number

            Returns boolean

      Returns boolean

Private Readonly _dart_asMap

_dart_asMap: () => {} = ...

Type declaration

    • (): {}
    • Returns {}

      • [index: number]: number

Private Readonly _dart_cast

_dart_cast: <R>() => IList<R> = ...

Type declaration

    • Type parameters

      • R

      Returns IList<R>

Private Readonly _dart_clear

_dart_clear: () => void = ...

Type declaration

    • (): void
    • Returns void

Private Readonly _dart_contains

_dart_contains: (element?: Object) => boolean = ...

Type declaration

    • (element?: Object): boolean
    • Parameters

      • Optional element: Object

      Returns boolean

Private Readonly _dart_elementAt

_dart_elementAt: (index: number) => number = ...

Type declaration

    • (index: number): number
    • Parameters

      • index: number

      Returns number

Private Readonly _dart_every

_dart_every: (test: (element: number) => boolean) => boolean = ...

Type declaration

    • (test: (element: number) => boolean): boolean
    • Parameters

      • test: (element: number) => boolean
          • (element: number): boolean
          • Parameters

            • element: number

            Returns boolean

      Returns boolean

Private Readonly _dart_expand

_dart_expand: <T>(f: (element: number) => IIterable<T>) => IIterable<T> = ...

Type declaration

Private Readonly _dart_fillRange

_dart_fillRange: (start: number, end: number, fillValue?: number) => void = ...

Type declaration

    • (start: number, end: number, fillValue?: number): void
    • Parameters

      • start: number
      • end: number
      • Optional fillValue: number

      Returns void

Private Readonly _dart_firstWhere

_dart_firstWhere: (test: (element: number) => boolean, props: { orElse?: () => undefined | number }) => number = ...

Type declaration

    • (test: (element: number) => boolean, props: { orElse?: () => undefined | number }): number
    • Parameters

      • test: (element: number) => boolean
          • (element: number): boolean
          • Parameters

            • element: number

            Returns boolean

      • props: { orElse?: () => undefined | number }
        • Optional orElse?: () => undefined | number
            • (): undefined | number
            • Returns undefined | number

      Returns number

Private Readonly _dart_fold

_dart_fold: <T>(initialValue: T, combine: (previousValue: T, element: number) => T) => T = ...

Type declaration

    • <T>(initialValue: T, combine: (previousValue: T, element: number) => T): T
    • Type parameters

      • T

      Parameters

      • initialValue: T
      • combine: (previousValue: T, element: number) => T
          • (previousValue: T, element: number): T
          • Parameters

            • previousValue: T
            • element: number

            Returns T

      Returns T

Private Readonly _dart_followedBy

_dart_followedBy: (other: IIterable<number>) => IIterable<number> = ...

Type declaration

Private Readonly _dart_forEach

_dart_forEach: (f: (element: number) => void) => void = ...

Type declaration

    • (f: (element: number) => void): void
    • Parameters

      • f: (element: number) => void
          • (element: number): void
          • Parameters

            • element: number

            Returns void

      Returns void

Private Readonly _dart_getBuffer

_dart_getBuffer: () => IByteBuffer = ...

Type declaration

Private Readonly _dart_getElementSizeInBytes

_dart_getElementSizeInBytes: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getFirst

_dart_getFirst: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getHashCode

_dart_getHashCode: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getIsEmpty

_dart_getIsEmpty: () => boolean = ...

Type declaration

    • (): boolean
    • Returns boolean

Private Readonly _dart_getIsNotEmpty

_dart_getIsNotEmpty: () => boolean = ...

Type declaration

    • (): boolean
    • Returns boolean

Private Readonly _dart_getIterator

_dart_getIterator: () => IIterator<number> = ...

Type declaration

Private Readonly _dart_getLast

_dart_getLast: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getLength

_dart_getLength: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getLengthInBytes

_dart_getLengthInBytes: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getOffsetInBytes

_dart_getOffsetInBytes: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_getRange

_dart_getRange: (start: number, end: number) => IIterable<number> = ...

Type declaration

    • (start: number, end: number): IIterable<number>
    • Parameters

      • start: number
      • end: number

      Returns IIterable<number>

Private Readonly _dart_getReversed

_dart_getReversed: () => IIterable<number> = ...

Type declaration

Private Readonly _dart_getSingle

_dart_getSingle: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_indexOf

_dart_indexOf: (element: number, start: number) => number = ...

Type declaration

    • (element: number, start: number): number
    • Parameters

      • element: number
      • start: number

      Returns number

Private Readonly _dart_indexWhere

_dart_indexWhere: (test: (element: number) => boolean, start: number) => number = ...

Type declaration

    • (test: (element: number) => boolean, start: number): number
    • Parameters

      • test: (element: number) => boolean
          • (element: number): boolean
          • Parameters

            • element: number

            Returns boolean

      • start: number

      Returns number

Private Readonly _dart_insert

_dart_insert: (index: number, element: number) => void = ...

Type declaration

    • (index: number, element: number): void
    • Parameters

      • index: number
      • element: number

      Returns void

Private Readonly _dart_insertAll

_dart_insertAll: (index: number, iterable: IIterable<number>) => void = ...

Type declaration

    • (index: number, iterable: IIterable<number>): void
    • Parameters

      Returns void

Private Readonly _dart_join

_dart_join: (separator: string) => string = ...

Type declaration

    • (separator: string): string
    • Parameters

      • separator: string

      Returns string

Private Readonly _dart_lastIndexOf

_dart_lastIndexOf: (element: number, start?: number) => number = ...

Type declaration

    • (element: number, start?: number): number
    • Parameters

      • element: number
      • Optional start: number

      Returns number

Private Readonly _dart_lastIndexWhere

_dart_lastIndexWhere: (test: (element: number) => boolean, start?: number) => number = ...

Type declaration

    • (test: (element: number) => boolean, start?: number): number
    • Parameters

      • test: (element: number) => boolean
          • (element: number): boolean
          • Parameters

            • element: number

            Returns boolean

      • Optional start: number

      Returns number

Private Readonly _dart_lastWhere

_dart_lastWhere: (test: (element: number) => boolean, props: { orElse?: () => undefined | number }) => number = ...

Type declaration

    • (test: (element: number) => boolean, props: { orElse?: () => undefined | number }): number
    • Parameters

      • test: (element: number) => boolean
          • (element: number): boolean
          • Parameters

            • element: number

            Returns boolean

      • props: { orElse?: () => undefined | number }
        • Optional orElse?: () => undefined | number
            • (): undefined | number
            • Returns undefined | number

      Returns number

Private Readonly _dart_map

_dart_map: <T>(f: (e: number) => T) => IIterable<T> = ...

Type declaration

    • Type parameters

      • T

      Parameters

      • f: (e: number) => T
          • (e: number): T
          • Parameters

            • e: number

            Returns T

      Returns IIterable<T>

Private Readonly _dart_reduce

_dart_reduce: (combine: (value: number, element: number) => number) => number = ...

Type declaration

    • (combine: (value: number, element: number) => number): number
    • Parameters

      • combine: (value: number, element: number) => number
          • (value: number, element: number): number
          • Parameters

            • value: number
            • element: number

            Returns number

      Returns number

Private Readonly _dart_remove

_dart_remove: (value?: Object) => boolean = ...

Type declaration

    • (value?: Object): boolean
    • Parameters

      • Optional value: Object

      Returns boolean

Private Readonly _dart_removeAt

_dart_removeAt: (index: number) => number = ...

Type declaration

    • (index: number): number
    • Parameters

      • index: number

      Returns number

Private Readonly _dart_removeLast

_dart_removeLast: () => number = ...

Type declaration

    • (): number
    • Returns number

Private Readonly _dart_removeRange

_dart_removeRange: (start: number, end: number) => void = ...

Type declaration

    • (start: number, end: number): void
    • Parameters

      • start: number
      • end: number

      Returns void

Private Readonly _dart_removeWhere

_dart_removeWhere: (test: (element: number) => boolean) => void = ...

Type declaration

    • (test: (element: number) => boolean): void
    • Parameters

      • test: (element: number) => boolean
          • (element: number): boolean
          • Parameters

            • element: number

            Returns boolean

      Returns void

Private Readonly _dart_replaceRange

_dart_replaceRange: (start: number, end: number, replacement: IIterable<number>) => void = ...

Type declaration

    • (start: number, end: number, replacement: IIterable<number>): void
    • Parameters

      • start: number
      • end: number
      • replacement: IIterable<number>

      Returns void

Private Readonly _dart_retainWhere

_dart_retainWhere: (test: (element: number) => boolean) => void = ...

Type declaration

    • (test: (element: number) => boolean): void
    • Parameters

      • test: (element: number) => boolean
          • (element: number): boolean
          • Parameters

            • element: number

            Returns boolean

      Returns void

Private Readonly _dart_setAll

_dart_setAll: (index: number, iterable: IIterable<number>) => void = ...

Type declaration

    • (index: number, iterable: IIterable<number>): void
    • Parameters

      Returns void

Private Readonly _dart_setFirst

_dart_setFirst: (value: number) => void = ...

Type declaration

    • (value: number): void
    • Parameters

      • value: number

      Returns void

Private Readonly _dart_setLast

_dart_setLast: (value: number) => void = ...

Type declaration

    • (value: number): void
    • Parameters

      • value: number

      Returns void

Private Readonly _dart_setLength

_dart_setLength: (newLength: number) => void = ...

Type declaration

    • (newLength: number): void
    • Parameters

      • newLength: number

      Returns void

Private Readonly _dart_setRange

_dart_setRange: (start: number, end: number, iterable: IIterable<number>, skipCount: number) => void = ...

Type declaration

    • (start: number, end: number, iterable: IIterable<number>, skipCount: number): void
    • Parameters

      • start: number
      • end: number
      • iterable: IIterable<number>
      • skipCount: number

      Returns void

Private Readonly _dart_shuffle

_dart_shuffle: (random?: IRandom) => void = ...

Type declaration

    • (random?: IRandom): void
    • Parameters

      • Optional random: IRandom

      Returns void

Private Readonly _dart_singleWhere

_dart_singleWhere: (test: (element: number) => boolean, props: { orElse?: () => undefined | number }) => number = ...

Type declaration

    • (test: (element: number) => boolean, props: { orElse?: () => undefined | number }): number
    • Parameters

      • test: (element: number) => boolean
          • (element: number): boolean
          • Parameters

            • element: number

            Returns boolean

      • props: { orElse?: () => undefined | number }
        • Optional orElse?: () => undefined | number
            • (): undefined | number
            • Returns undefined | number

      Returns number

Private Readonly _dart_skip

_dart_skip: (count: number) => IIterable<number> = ...

Type declaration

Private Readonly _dart_skipWhile

_dart_skipWhile: (test: (value: number) => boolean) => IIterable<number> = ...

Type declaration

    • (test: (value: number) => boolean): IIterable<number>
    • Parameters

      • test: (value: number) => boolean
          • (value: number): boolean
          • Parameters

            • value: number

            Returns boolean

      Returns IIterable<number>

Private Readonly _dart_sort

_dart_sort: (compare?: (a: number, b: number) => number) => void = ...

Type declaration

    • (compare?: (a: number, b: number) => number): void
    • Parameters

      • Optional compare: (a: number, b: number) => number
          • (a: number, b: number): number
          • Parameters

            • a: number
            • b: number

            Returns number

      Returns void

Private Readonly _dart_sublist

_dart_sublist: (start: number, end?: number) => IUint8ClampedList = ...

Type declaration

Private Readonly _dart_take

_dart_take: (count: number) => IIterable<number> = ...

Type declaration

Private Readonly _dart_takeWhile

_dart_takeWhile: (test: (value: number) => boolean) => IIterable<number> = ...

Type declaration

    • (test: (value: number) => boolean): IIterable<number>
    • Parameters

      • test: (value: number) => boolean
          • (value: number): boolean
          • Parameters

            • value: number

            Returns boolean

      Returns IIterable<number>

Private Readonly _dart_toList

_dart_toList: (props: { growable: boolean }) => IList<number> = ...

Type declaration

    • (props: { growable: boolean }): IList<number>
    • Parameters

      • props: { growable: boolean }
        • growable: boolean

      Returns IList<number>

Private Readonly _dart_toSet

_dart_toSet: () => ISet<number> = ...

Type declaration

Private Readonly _dart_toString

_dart_toString: () => string = ...

Type declaration

    • (): string
    • Returns string

Private Readonly _dart_where

_dart_where: (test: (element: number) => boolean) => IIterable<number> = ...

Type declaration

    • (test: (element: number) => boolean): IIterable<number>
    • Parameters

      • test: (element: number) => boolean
          • (element: number): boolean
          • Parameters

            • element: number

            Returns boolean

      Returns IIterable<number>

Private Readonly _dart_whereType

_dart_whereType: <T>() => IIterable<T> = ...

Type declaration

Static bytesPerElement

bytesPerElement: number = 1

Methods

add

  • add(value: number): void

addAll

any

  • any(test: (element: number) => boolean): boolean
  • Parameters

    • test: (element: number) => boolean
        • (element: number): boolean
        • Parameters

          • element: number

          Returns boolean

    Returns boolean

asMap

  • asMap(): {}

cast

clear

  • clear(): void

contains

  • contains(element?: Object): boolean

elementAt

  • elementAt(index: number): number

every

  • every(test: (element: number) => boolean): boolean
  • Parameters

    • test: (element: number) => boolean
        • (element: number): boolean
        • Parameters

          • element: number

          Returns boolean

    Returns boolean

expand

fillRange

  • fillRange(start: number, end: number, fillValue?: number): void

firstWhere

  • firstWhere(test: (element: number) => boolean, props: { orElse?: () => undefined | number }): number
  • Parameters

    • test: (element: number) => boolean
        • (element: number): boolean
        • Parameters

          • element: number

          Returns boolean

    • props: { orElse?: () => undefined | number }
      • Optional orElse?: () => undefined | number
          • (): undefined | number
          • Returns undefined | number

    Returns number

fold

  • fold<T>(initialValue: T, combine: (previousValue: T, element: number) => T): T
  • Type parameters

    • T

    Parameters

    • initialValue: T
    • combine: (previousValue: T, element: number) => T
        • (previousValue: T, element: number): T
        • Parameters

          • previousValue: T
          • element: number

          Returns T

    Returns T

followedBy

forEach

  • forEach(f: (element: number) => void): void
  • Parameters

    • f: (element: number) => void
        • (element: number): void
        • Parameters

          • element: number

          Returns void

    Returns void

getBuffer

getElementSizeInBytes

  • getElementSizeInBytes(): number

getFirst

  • getFirst(): number

getHashCode

  • getHashCode(): number

getIsEmpty

  • getIsEmpty(): boolean

getIsNotEmpty

  • getIsNotEmpty(): boolean

getIterator

getLast

  • getLast(): number

getLength

  • getLength(): number

getLengthInBytes

  • getLengthInBytes(): number

getOffsetInBytes

  • getOffsetInBytes(): number

getRange

  • getRange(start: number, end: number): IIterable<number>

getReversed

getSingle

  • getSingle(): number

indexOf

  • indexOf(element: number, start?: number): number

indexWhere

  • indexWhere(test: (element: number) => boolean, start?: number): number
  • Parameters

    • test: (element: number) => boolean
        • (element: number): boolean
        • Parameters

          • element: number

          Returns boolean

    • start: number = 0

    Returns number

insert

  • insert(index: number, element: number): void

insertAll

  • insertAll(index: number, iterable: IIterable<number>): void

join

  • join(separator?: string): string

lastIndexOf

  • lastIndexOf(element: number, start?: number): number

lastIndexWhere

  • lastIndexWhere(test: (element: number) => boolean, start?: number): number
  • Parameters

    • test: (element: number) => boolean
        • (element: number): boolean
        • Parameters

          • element: number

          Returns boolean

    • Optional start: number

    Returns number

lastWhere

  • lastWhere(test: (element: number) => boolean, props: { orElse?: () => undefined | number }): number
  • Parameters

    • test: (element: number) => boolean
        • (element: number): boolean
        • Parameters

          • element: number

          Returns boolean

    • props: { orElse?: () => undefined | number }
      • Optional orElse?: () => undefined | number
          • (): undefined | number
          • Returns undefined | number

    Returns number

map

reduce

  • reduce(combine: (value: number, element: number) => number): number
  • Parameters

    • combine: (value: number, element: number) => number
        • (value: number, element: number): number
        • Parameters

          • value: number
          • element: number

          Returns number

    Returns number

remove

  • remove(value?: Object): boolean

removeAt

  • removeAt(index: number): number

removeLast

  • removeLast(): number

removeRange

  • removeRange(start: number, end: number): void

removeWhere

  • removeWhere(test: (element: number) => boolean): void
  • Parameters

    • test: (element: number) => boolean
        • (element: number): boolean
        • Parameters

          • element: number

          Returns boolean

    Returns void

replaceRange

  • replaceRange(start: number, end: number, replacement: IIterable<number>): void

retainWhere

  • retainWhere(test: (element: number) => boolean): void
  • Parameters

    • test: (element: number) => boolean
        • (element: number): boolean
        • Parameters

          • element: number

          Returns boolean

    Returns void

setAll

  • setAll(index: number, iterable: IIterable<number>): void

setFirst

  • setFirst(value: number): void

setLast

  • setLast(value: number): void

setLength

  • setLength(newLength: number): void

setRange

  • setRange(start: number, end: number, iterable: IIterable<number>, skipCount?: number): void

shuffle

  • shuffle(random?: IRandom): void

singleWhere

  • singleWhere(test: (element: number) => boolean, props: { orElse?: () => undefined | number }): number
  • Parameters

    • test: (element: number) => boolean
        • (element: number): boolean
        • Parameters

          • element: number

          Returns boolean

    • props: { orElse?: () => undefined | number }
      • Optional orElse?: () => undefined | number
          • (): undefined | number
          • Returns undefined | number

    Returns number

skip

skipWhile

  • skipWhile(test: (value: number) => boolean): IIterable<number>

sort

  • sort(compare?: (a: number, b: number) => number): void
  • Parameters

    • Optional compare: (a: number, b: number) => number
        • (a: number, b: number): number
        • Parameters

          • a: number
          • b: number

          Returns number

    Returns void

sublist

take

takeWhile

  • takeWhile(test: (value: number) => boolean): IIterable<number>

toList

  • toList(props: { growable?: boolean }): IList<number>

toSet

  • toSet(): ISet<number>

toString

  • toString(): string

where

  • where(test: (element: number) => boolean): IIterable<number>

whereType

Static fromList

Static sublistView

Static view

Generated using TypeDoc