Home Manual Reference Source
public class | source

MemoryEfficientPairs

Extends:

BasePairs → MemoryEfficientPairs

Static Method Summary

Static Public Methods
public static

from(pairs: *): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

size: *

Private Members
private

_map: *

Method Summary

Public Methods
public

add(arrayPattern: *[]): *

public

clear(): *

public

delete(arrayPattern: *[]): boolean

public

invert(): *

Inherited Summary

From class BasePairs
public
public

add()

public

clear()

public

delete()

public

* entries()

public

forEach(callbackFn: *, thisArg: *)

public

has(arrayPattern: *[]): *

public

keys(): *

public

left(): *

public

leftOf(B: *): *

public

right(): *

public

* rightOf(A: *)

public

update(pairs: *): *

public

values(): *

Static Public Methods

public static from(pairs: *): * source

Params:

NameTypeAttributeDescription
pairs *

Return:

*

Public Constructors

public constructor() source

Public Members

public size: * source

Private Members

private _map: * source

Public Methods

public add(arrayPattern: *[]): * source

Override:

BasePairs#add

Params:

NameTypeAttributeDescription
arrayPattern *[]
  • default: [null, null]

Return:

*

public clear(): * source

Override:

BasePairs#clear

Return:

*

public delete(arrayPattern: *[]): boolean source

Override:

BasePairs#delete

Params:

NameTypeAttributeDescription
arrayPattern *[]
  • default: [null, null]

Return:

boolean

public invert(): * source

Return:

*