capacity

public abstract long capacity()

Returns the number of elements this filter can represent at its requested FPP. This may not be a hard limit of the filter implementation. It is permissible for a filter to contain more elements than its requested capacity, though its FPP may suffer.

Return

the number of elements this filter can represent at its requested FPP.

See also