findGreatestLessThanOrEqual(value)

Finds the largest value less than or equal to the given value, returning the node at which it was found, or undefined.

Values are compared using the collection’s intrinsic contentEquals and contentCompare, determined at time of construction.

This is fast (logarithmic) and may rotate the underlying splay tree.

On collections

Usage

  • findGreatestLessThanOrEqual(value)

Related