add
Adds the specified element to this filter (optional operation). A return value of true
ensures that contains given e
will also return true
.
Return
true
if e
was successfully added to the filter, false
if this is definitely not the case
Parameters
e
element to be added to this filter
See also
Throws
if the add operation is not supported by this filter
if the class of the specified element prevents it from being added to this filter
if the specified element is null
and this filter does not permit null
elements
if some property of the specified element prevents it from being added to this filter