Code example for BlockingQueue

Methods: contains

0
        return (T[]) queue.toArray(a);
    } 
 
    @Override 
    public boolean contains(Object o) {
        return queue.contains(o);
    } 
 
    @Override 
    public boolean containsAll(Collection<?> c) {
        return queue.containsAll(c);
    } 
}