remove

public boolean remove(@NotNull() @NotNull() E e)

Removes the specified element from this filter. The element must be contained in the filter prior to invocation. If false is returned, this is definitely an indication that the specified element wasn't contained in the filter prior to invocation. This condition is an error, and this filter can no longer be relied upon to return correct false responses from contains, unless isEmpty is also true.

Return

true if this filter probably contained the specified element, false otherwise

Parameters

e

element to be removed from this filter

See also

Throws

if the specified element is null and this filter does not permit null elements