add All
Combines this
filter with another compatible filter. The mutations happen to
this
instance. Callers must ensure this
filter is appropriately sized to avoid saturating it or running out of space.
Return
true
if the operation was successful, false
otherwise
Parameters
filter to be combined into this
filter - f
is not mutated
See also
Throws
if the specified filter is null
if isCompatible==
false
Adds all of the elements in the specified collection to this filter. The behavior of this operation is undefined if the specified collection is modified while the operation is in progress. Some elements of c
may have been added to the filter even when false
is returned. In this case, the caller may remove the additions by comparing the filter sizeLong before and after the invocation, knowing that additions from c
occurred in c
's iteration order.
Return
true
if all elements of the collection were successfully added, false
otherwise
Parameters
collection containing elements to be added to this filter
See also
Throws
if the specified collection contains a null
element, or if the specified collection is null