getByHash

fun getByHash(elementHash: Int): Boolean

Determine whether an element with the given hashCode is probably present in the filter. If the element is present, this always returns true, but it may sometimes return true even if the element is not present.

Return

Always true if the element is present in the filter, or usually false if it is not in the filter.

Parameters

elementHash

The Int to test for probable membership in the BloomFilter.