containsAll

public abstract boolean containsAll(Collection<? extends E> c)

Returns true if this filter might contain all of the elements of the specified collection (optional operation). More formally, returns true if contains== true for all of the elements of the specified collection.

Return

true if this filter might contain all elements of the specified collection

Parameters

c

collection containing elements to be checked for containment in this filter

See also

Throws

if the types of one or more elements in the specified collection are incompatible with this filter (optional)

if the specified collection contains one or more null elements and this filter does not permit null elements (optional), or if the specified collection is null


public abstract boolean containsAll(ProbabilisticFilter<E> f)

Returns true if this filter might contain all elements contained in the specified filter (optional operation).

Return

true if this filter might contain all elements contained in the specified filter, false if this is definitely not the case.

Parameters

f

filter containing elements to be checked for probable containment in this filter

See also

Throws

if the containsAll operation is not supported by this filter

if the specified filter is null