GoLang Judy::nextEmpty

request it (310)
GoLang replacement for PHP's Judy::nextEmpty [edit | history]



Do you know a GoLang replacement for PHP's Judy::nextEmpty? Write it!

PHP Judy::nextEmpty

PHP original manual for Judy::nextEmpty [ show | php.net ]

Judy::nextEmpty

(PECL judy >= 0.1.1)

Judy::nextEmptySearch for the next absent index in the Judy array

Description

public int Judy::nextEmpty ( int $index )

Search (exclusive) for the next absent index that is greater than the passed Index.

Parameters

index

The index can be an integer or a string corresponding to the index where to start the search.

Return Values

Return the corresponding index in the array.