Flow PHP

HashTable

FinalYes

Methods

__construct()  : mixed
add()  : void
candidatesFor()  : array<int, int>
count()  : int
matched()  : void
unmatched()  : array<int, int>

Methods

__construct()

public __construct([bool $trackUnmatched = false ]) : mixed
Parameters
$trackUnmatched : bool = false

add()

public add(string $key, int $index) : void
Parameters
$key : string
$index : int

candidatesFor()

public candidatesFor(string $key) : array<int, int>
Parameters
$key : string
Return values
array<int, int> —

the build-side rows under $key, in the order they were added

count()

public count() : int
Return values
int

matched()

public matched(int $index) : void
Parameters
$index : int

unmatched()

public unmatched() : array<int, int>
Return values
array<int, int> —

the build-side rows never matched, in the order they were added

On this page

Search results