Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • V

Hierarchy

Index

Constructors

constructor

Properties

Protected _patches

_patches: SQueuePatches<V>

Protected _values

_values: SQueueData<V>

Methods

addAll_

  • addAll_(elements: ArrayLike<V | null>): boolean

Private addAll__

  • addAll__(values: ArrayLike<V | null>): boolean

add_

  • add_(element: V | null): boolean

Private add__

  • add__(value: V | null): boolean

clearAndAddAll_

  • clearAndAddAll_(elements: ArrayLike<V | null>): boolean

Private clearAndAddAll__

  • clearAndAddAll__(newValues: ArrayLike<V | null>): boolean

clearAndAdd_

  • clearAndAdd_(element: V | null): boolean

Private clearAndAdd__

  • clearAndAdd__(newValue: V | null): boolean

clear_

  • clear_(): void

Private clear__

  • clear__(): void

containsAll_

  • containsAll_(values: ArrayLike<unknown>, comparator: Comparator, thisArg: unknown): boolean

contains_

  • contains_(value: unknown, comparator: Comparator, thisArg: unknown): boolean

each_

  • each_(iteratee: Iteratee<number, V | null, any>, thisArg: unknown, reverse: boolean): void

find_

  • find_(predicate: Iteratee<number, V | null, any>, thisArg: unknown, reverse: boolean): unknown

fromJson_

  • fromJson_(json: unknown): void

fromString_

  • fromString_(str: string): void

getAndIncrementRevision_

  • getAndIncrementRevision_(): number

getCapacity_

  • getCapacity_(): number

getFirst_

  • getFirst_(throwWhenFailed: boolean): V | null

getRevision_

  • getRevision_(): number

getWrapper_

get_

  • get_(index: number): V | null

indexOf_

  • indexOf_(value: unknown, comparator: Comparator, thisArg: unknown): number

initialize_

  • initialize_(): void

isEmpty_

  • isEmpty_(): boolean

isInitialized_

  • isInitialized_(): boolean

isLocked_

  • isLocked_(): boolean

isNonNull_

  • isNonNull_(): boolean

isPatchApplicable_

  • isPatchApplicable_(patches: unknown[], revision: number, hasNoPatches: boolean): boolean

isPatchEmpty_

  • isPatchEmpty_(patches: unknown[]): boolean

isReadOnly_

  • isReadOnly_(): boolean

lastIndexOf_

  • lastIndexOf_(value: unknown, comparator: Comparator, thisArg: unknown): number

lock_

  • lock_(): void

Protected makeInitValues_

mergeEvents_

Protected newInitArgs_

  • newInitArgs_(): unknown[]

Protected newValueArgs_

  • newValueArgs_(initArgs: unknown[]): unknown[]

Private onAddAll_

  • onAddAll_(values: ArrayLike<V | null>): boolean

Private onAdd_

  • onAdd_(value: V | null): boolean

Private onCapacity_

  • onCapacity_(capacity: number): void

Private onClear_

  • onClear_(): void

onMergedEvent_

  • onMergedEvent_(args: unknown[]): void

Private onRemove_

  • onRemove_(): void

patch_

  • patch_(patches: unknown[]): unknown[] | null

poll_

  • poll_(): V | null

pushChangeEvent_

  • pushChangeEvent_(initArg: unknown | null, changeArgs: unknown[]): void

pushEvent_

  • pushEvent_(name: string, args: unknown[]): void

remove_

  • remove_(): V | null

Private remove__

  • remove__(throwWhenFailed: boolean): V | null

resetAuthorizedRevision_

  • resetAuthorizedRevision_(): void

setCapacity_

  • setCapacity_(capacity: number): number

Private setCapacity__

  • setCapacity__(newCapacity: number): number

size_

  • size_(): number

toArray_

  • toArray_(): Array<V | null>

toEventData_

toJson_

  • toJson_(): Array<V | null>

toString_

  • toString_(): string

Protected toUpdated_

  • toUpdated_(): void

triggerEvents_

Private trimToCapacity_

  • trimToCapacity_(removed: Array<V | null>): void

uninitialize_

  • uninitialize_(): void

unlock_

  • unlock_(): void

Generated using TypeDoc