GoLang Judy::lastEmpty

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

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

PHP Judy::lastEmpty

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


(PECL judy >= 0.1.1)

Judy::lastEmptySearch for the last absent index in the Judy array


public int Judy::lastEmpty ([ int $index = -1 ] )

Search (inclusive) for the last absent index that is equal to or less than the passed 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.